mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-21 21:10:00 +01:00
Remove timers for now.
This commit is contained in:
parent
b2a15ceb9d
commit
71654698d3
@ -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>";
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user