mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
setup->setup_account_object() need to load config to $GLOBALS[egw_info][server] too, as eg. auth::encyrpt_password needs the encryption type
This commit is contained in:
parent
3629e919f5
commit
5973d330fd
@ -197,10 +197,10 @@ class setup
|
||||
}
|
||||
setcookie($cookiename,$cookievalue,$cookietime,'/',$this->cookie_domain);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get configuration language from $_POST or $_COOKIE and validate it
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static function get_lang()
|
||||
@ -998,7 +998,7 @@ class setup
|
||||
|
||||
while(($row = $this->db->row(true)))
|
||||
{
|
||||
$config[$row['config_name']] = $row['config_value'];
|
||||
$GLOBALS['egw_info']['server'][$row['config_name']] = $config[$row['config_name']] = $row['config_value'];
|
||||
}
|
||||
}
|
||||
$this->accounts = new accounts($config);
|
||||
|
Loading…
Reference in New Issue
Block a user