diff options
author | redmatrix <git@macgirvin.com> | 2016-08-07 17:29:35 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-07 17:29:35 -0700 |
commit | 5243dd153bed7fe79188478922a58e8057be3f3e (patch) | |
tree | 92ca6142a60f235cf70c4a31cda0b7ffc6d68c86 /boot.php | |
parent | e1659b0725c275c2ba5f38a02a0f3fbcec145519 (diff) | |
download | volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.gz volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.bz2 volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.zip |
use config system.server_role and deprecate 'UNO'
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -602,8 +602,12 @@ function sys_boot() { @include('.htconfig.php'); - if(! defined('UNO')) - define('UNO', 0); + if(defined('UNO')) { + if(UNO) + App::$config['system']['server_role'] = 'basic'; + else + App::$config['system']['server_role'] = 'pro'; + } if(array_key_exists('default_timezone',get_defined_vars())) { App::$config['system']['timezone'] = $default_timezone; |