Add space between project name and server type
This commit is contained in:
parent
516c43ba15
commit
f9a295a236
@ -44,7 +44,6 @@
|
|||||||
* The category of the configuration value
|
* The category of the configuration value
|
||||||
*/
|
*/
|
||||||
function load_config($family) {
|
function load_config($family) {
|
||||||
global $a;
|
|
||||||
|
|
||||||
if(! array_key_exists($family, App::$config))
|
if(! array_key_exists($family, App::$config))
|
||||||
App::$config[$family] = array();
|
App::$config[$family] = array();
|
||||||
@ -110,6 +109,7 @@ function get_config($family, $key) {
|
|||||||
* The configuration key to query
|
* The configuration key to query
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function get_config_from_storage($family, $key) {
|
function get_config_from_storage($family, $key) {
|
||||||
$ret = q("SELECT * FROM config WHERE cat = '%s' AND k = '%s' LIMIT 1",
|
$ret = q("SELECT * FROM config WHERE cat = '%s' AND k = '%s' LIMIT 1",
|
||||||
dbesc($family),
|
dbesc($family),
|
||||||
|
@ -3948,7 +3948,7 @@ function zotinfo($arr) {
|
|||||||
$ret['site']['sellpage'] = get_config('system','sellpage');
|
$ret['site']['sellpage'] = get_config('system','sellpage');
|
||||||
$ret['site']['location'] = get_config('system','site_location');
|
$ret['site']['location'] = get_config('system','site_location');
|
||||||
$ret['site']['realm'] = get_directory_realm();
|
$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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user