diff options
author | redmatrix <git@macgirvin.com> | 2016-08-22 17:41:41 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-22 17:41:41 -0700 |
commit | 38ca3bac405b339367b513037428f796c433819a (patch) | |
tree | e9a0ca2161f037426f8d8fa788d7976fc7a170cc /boot.php | |
parent | e967bc9c455c27f08a2add12d566e81036819e4e (diff) | |
download | volse-hubzilla-38ca3bac405b339367b513037428f796c433819a.tar.gz volse-hubzilla-38ca3bac405b339367b513037428f796c433819a.tar.bz2 volse-hubzilla-38ca3bac405b339367b513037428f796c433819a.zip |
optional server role compatibility checks for plugins
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -612,11 +612,11 @@ function sys_boot() { if(UNO) App::$config['system']['server_role'] = 'basic'; else - App::$config['system']['server_role'] = 'pro'; + App::$config['system']['server_role'] = 'standard'; } if(! (array_key_exists('server_role',App::$config['system']) && App::$config['system']['server_role'])) - App::$config['system']['server_role'] = 'pro'; + App::$config['system']['server_role'] = 'standard'; App::$timezone = ((App::$config['system']['timezone']) ? App::$config['system']['timezone'] : 'UTC'); date_default_timezone_set(App::$timezone); |