aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/System.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib/System.php')
-rw-r--r--Zotlabs/Lib/System.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php
index c52a90338..4479bf597 100644
--- a/Zotlabs/Lib/System.php
+++ b/Zotlabs/Lib/System.php
@@ -43,8 +43,8 @@ class System {
static public function get_server_role() {
- if(UNO)
- return 'basic';
+ if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['server_role'])
+ return \App::$config['system']['server_role'];
return 'pro';
}