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:
Ralf Becker 2010-05-15 07:58:28 +00:00
parent 6047b7930a
commit ea623e16bc

View File

@ -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);