use config system.server_role and deprecate 'UNO'
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user