diff --git a/src/_h5ai/server/php/inc/init.php b/src/_h5ai/server/php/inc/init.php deleted file mode 100644 index b5643a0c..00000000 --- a/src/_h5ai/server/php/inc/init.php +++ /dev/null @@ -1,44 +0,0 @@ -apply(); - - json_fail(100, "unsupported request"); - -} else { - - header("Content-type: text/html"); - - $HREF = $app->get_app_abs_href(); - $FALLBACK = $app->get_no_js_fallback(); - - normalized_require_once("/server/php/inc/page.php"); -} - -?> \ No newline at end of file diff --git a/src/_h5ai/server/php/index.php b/src/_h5ai/server/php/index.php index dd3bda2d..aca10b8f 100644 --- a/src/_h5ai/server/php/index.php +++ b/src/_h5ai/server/php/index.php @@ -1 +1,44 @@ - \ No newline at end of file +apply(); + + json_fail(100, "unsupported request"); + +} else { + + header("Content-type: text/html;charset=utf-8"); + + $HREF = $app->get_app_abs_href(); + $FALLBACK = $app->get_no_js_fallback(); + + normalized_require_once("/server/php/inc/page.php"); +} + +?> \ No newline at end of file