Remove timers for now.

This commit is contained in:
Lars Jung 2014-05-22 00:13:15 +02:00
parent b2a15ceb9d
commit 71654698d3
2 changed files with 0 additions and 14 deletions

View File

@ -157,9 +157,7 @@ class App {
$cache = array();
$folder = Item::get($this, CURRENT_PATH, $cache);
time_log("f2");
$items = $folder->get_content($cache);
time_log("f3");
uasort($items, array("Item", "cmp"));
$html = "<table>";

View File

@ -19,30 +19,18 @@ normalized_require_once("class-archive");
normalized_require_once("class-item");
normalized_require_once("class-thumb");
time_log(" 0");
setup();
time_log(" 1");
$app = new App();
time_log(" 2");
// err_log('setup', $app->get_setup());
// time_log(" 3");
if (has_request_param("action")) {
header("Content-type: application/json;charset=utf-8");
time_log("a1");
$api = new Api($app);
time_log("a2");
$api->apply();
} else {
header("Content-type: text/html;charset=utf-8");
time_log("i1");
define("FALLBACK", $app->get_fallback());
time_log("i2");
normalized_require_once("page");
}