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:56:58 +00:00
parent 3629e919f5
commit 5973d330fd

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