mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-08 02:24:39 -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue