diff --git a/src/_h5ai/server/php/inc/class-app.php b/src/_h5ai/server/php/inc/class-app.php
index faa5fc43..f9aecbc0 100644
--- a/src/_h5ai/server/php/inc/class-app.php
+++ b/src/_h5ai/server/php/inc/class-app.php
@@ -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 = "
";
diff --git a/src/_h5ai/server/php/index.php b/src/_h5ai/server/php/index.php
index 098c04f9..3b4dcace 100644
--- a/src/_h5ai/server/php/index.php
+++ b/src/_h5ai/server/php/index.php
@@ -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");
}