Some fixes.

This commit is contained in:
Lars Jung 2014-06-26 12:42:09 +02:00
parent daa1d255e2
commit d4c6b33ed5
4 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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"]);

View file

@ -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

View file

@ -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");