mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +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
6047b7930a
commit
ea623e16bc
@ -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()
|
||||
@ -928,7 +928,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