global $config;
return array(
// We only want to change these values, not replace entire 'site' array
- 'site' => array_replace(
+ 'site' => array_merge(
$config['site'], array(
'inviteonly' => false,
'private' => false,
global $config;
return array(
// We only want to change these values, not replace entire 'site' array
- 'site' => array_replace(
+ 'site' => array_merge(
$config['site'], array(
'inviteonly' => true,
'private' => true,
global $config;
return array(
// We only want to change these values, not replace entire 'site' array
- 'site' => array_replace(
+ 'site' => array_merge(
$config['site'], array(
'private' => false,
'closed' => false
return array(
'singleuser' => array('enabled' => true),
// We only want to change these values, not replace entire 'site' array
- 'site' => array_replace(
+ 'site' => array_merge(
$config['site'], array(
'private' => false,
'closed' => true,
{
global $config;
$settings = SiteProfile::getSettings($name);
- $config = array_replace($config, $settings);
+ $config = array_merge($config, $settings);
}
protected function _sn_to_path($sn)