mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-06 21:36:30 +02:00
Some fixes.
This commit is contained in:
@@ -38,5 +38,5 @@ html.no-js.browser( lang="en" )
|
|||||||
| ! ⚡
|
| ! ⚡
|
||||||
span.right
|
span.right
|
||||||
a( href="{{pkg.url}}", title="{{pkg.name}} {{pkg.version}} · {{pkg.description}}" )
|
a( href="{{pkg.url}}", title="{{pkg.name}} {{pkg.version}} · {{pkg.description}}" )
|
||||||
| powered by h5ai {{pkg.version}}
|
| powered by {{pkg.name}} {{pkg.version}}
|
||||||
span.center
|
span.center
|
||||||
|
@@ -26,7 +26,7 @@ class App {
|
|||||||
|
|
||||||
$consts = get_defined_constants(true);
|
$consts = get_defined_constants(true);
|
||||||
$setup = $consts["user"];
|
$setup = $consts["user"];
|
||||||
$setup["PHP_VERSION"] = PHP_VERSION;
|
// $setup["PHP_VERSION"] = PHP_VERSION;
|
||||||
unset($setup["APP_PATH"]);
|
unset($setup["APP_PATH"]);
|
||||||
unset($setup["ROOT_PATH"]);
|
unset($setup["ROOT_PATH"]);
|
||||||
unset($setup["CURRENT_PATH"]);
|
unset($setup["CURRENT_PATH"]);
|
||||||
|
@@ -35,7 +35,7 @@ html.no-js.browser( lang="en" )
|
|||||||
| ! ⚡
|
| ! ⚡
|
||||||
span.right
|
span.right
|
||||||
a( href="{{pkg.url}}", title="{{pkg.name}} {{pkg.version}} · {{pkg.description}}" )
|
a( href="{{pkg.url}}", title="{{pkg.name}} {{pkg.version}} · {{pkg.description}}" )
|
||||||
| powered by h5ai {{pkg.version}}
|
| powered by {{pkg.name}} {{pkg.version}}
|
||||||
span.center
|
span.center
|
||||||
|
|
||||||
div#sidebar
|
div#sidebar
|
||||||
|
@@ -22,6 +22,7 @@ normalized_require_once("class-thumb");
|
|||||||
setup();
|
setup();
|
||||||
$app = new App();
|
$app = new App();
|
||||||
|
|
||||||
|
header("X-Powered-By: " . NAME . "/" . VERSION);
|
||||||
if (has_request_param("action")) {
|
if (has_request_param("action")) {
|
||||||
|
|
||||||
header("Content-type: application/json;charset=utf-8");
|
header("Content-type: application/json;charset=utf-8");
|
||||||
|
Reference in New Issue
Block a user