mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-06 01:31:14 -04:00
Minor changes.
This commit is contained in:
parent
d784b7407f
commit
26857fea74
6 changed files with 15 additions and 8 deletions
|
@ -25,9 +25,13 @@ class App {
|
|||
public function get_setup() {
|
||||
|
||||
$consts = get_defined_constants(true);
|
||||
$consts_user = $consts["user"];
|
||||
$consts_user["PHP_VERSION"] = PHP_VERSION;
|
||||
return $consts_user;
|
||||
$setup = $consts["user"];
|
||||
$setup["PHP_VERSION"] = PHP_VERSION;
|
||||
unset($setup["APP_PATH"]);
|
||||
unset($setup["ROOT_PATH"]);
|
||||
unset($setup["CURRENT_PATH"]);
|
||||
unset($setup["CACHE_PATH"]);
|
||||
return $setup;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
| powered by h5ai {{pkg.version}}
|
||||
span.center
|
||||
|
||||
div#sidebar
|
||||
|
|
|
@ -8,6 +8,9 @@ function setup() {
|
|||
setlocale(LC_CTYPE, "en_US.UTF-8");
|
||||
date_default_timezone_set("UTC");
|
||||
|
||||
define("NAME", "{{pkg.name}}");
|
||||
define("VERSION", "{{pkg.version}}");
|
||||
|
||||
define("BACKEND", "PHP");
|
||||
define("API", true);
|
||||
define("FILE_PREFIX", "_{{pkg.name}}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue