Some fixes.
This commit is contained in:
parent
daa1d255e2
commit
d4c6b33ed5
4 changed files with 4 additions and 3 deletions
|
@ -38,5 +38,5 @@ html.no-js.browser( lang="en" )
|
|||
| ! ⚡
|
||||
span.right
|
||||
a( href="{{pkg.url}}", title="{{pkg.name}} {{pkg.version}} · {{pkg.description}}" )
|
||||
| powered by h5ai {{pkg.version}}
|
||||
| powered by {{pkg.name}} {{pkg.version}}
|
||||
span.center
|
||||
|
|
|
@ -26,7 +26,7 @@ class App {
|
|||
|
||||
$consts = get_defined_constants(true);
|
||||
$setup = $consts["user"];
|
||||
$setup["PHP_VERSION"] = PHP_VERSION;
|
||||
// $setup["PHP_VERSION"] = PHP_VERSION;
|
||||
unset($setup["APP_PATH"]);
|
||||
unset($setup["ROOT_PATH"]);
|
||||
unset($setup["CURRENT_PATH"]);
|
||||
|
|
|
@ -35,7 +35,7 @@ html.no-js.browser( lang="en" )
|
|||
| ! ⚡
|
||||
span.right
|
||||
a( href="{{pkg.url}}", title="{{pkg.name}} {{pkg.version}} · {{pkg.description}}" )
|
||||
| powered by h5ai {{pkg.version}}
|
||||
| powered by {{pkg.name}} {{pkg.version}}
|
||||
span.center
|
||||
|
||||
div#sidebar
|
||||
|
|
|
@ -22,6 +22,7 @@ normalized_require_once("class-thumb");
|
|||
setup();
|
||||
$app = new App();
|
||||
|
||||
header("X-Powered-By: " . NAME . "/" . VERSION);
|
||||
if (has_request_param("action")) {
|
||||
|
||||
header("Content-type: application/json;charset=utf-8");
|
||||
|
|
Loading…
Add table
Reference in a new issue