Minor changes.

This commit is contained in:
Lars Jung 2014-06-21 20:51:02 +02:00
parent d784b7407f
commit 26857fea74
6 changed files with 15 additions and 8 deletions

View file

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