diff options
-rw-r--r-- | include/config.php | 2 | ||||
-rw-r--r-- | include/zot.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/config.php b/include/config.php index 12768f4da..29ea10b5a 100644 --- a/include/config.php +++ b/include/config.php @@ -44,7 +44,6 @@ * The category of the configuration value */ function load_config($family) { - global $a; if(! array_key_exists($family, App::$config)) App::$config[$family] = array(); @@ -110,6 +109,7 @@ function get_config($family, $key) { * The configuration key to query * @return mixed */ + function get_config_from_storage($family, $key) { $ret = q("SELECT * FROM config WHERE cat = '%s' AND k = '%s' LIMIT 1", dbesc($family), diff --git a/include/zot.php b/include/zot.php index 64f1c0c0e..cfe524135 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3948,7 +3948,7 @@ function zotinfo($arr) { $ret['site']['sellpage'] = get_config('system','sellpage'); $ret['site']['location'] = get_config('system','site_location'); $ret['site']['realm'] = get_directory_realm(); - $ret['site']['project'] = Zotlabs\Lib\System::get_platform_name() . Zotlabs\Lib\System::get_server_role(); + $ret['site']['project'] = Zotlabs\Lib\System::get_platform_name() . ' ' . Zotlabs\Lib\System::get_server_role(); } |