forked from extern/egroupware
Missed a global
This commit is contained in:
parent
bd2a20dcd8
commit
a4053a15c4
@ -27,11 +27,11 @@
|
||||
*/
|
||||
function loaddb()
|
||||
{
|
||||
$ConfigDomain = $GLOBALS['HTTP_POST_VARS']['ConfigDomain'] ? $GLOBALS['HTTP_POST_VARS']['ConfigDomain'] : $GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'];
|
||||
$ConfigDomain = $GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] ? $GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] : $GLOBALS['HTTP_POST_VARS']['ConfigDomain'];
|
||||
if(empty($ConfigDomain))
|
||||
{
|
||||
/* This is to fix the reading of this value immediately after the cookie was set on login */
|
||||
$ConfigDomain = $HTTP_POST_VARS['FormDomain'];
|
||||
$ConfigDomain = $GLOBALS['HTTP_POST_VARS']['FormDomain'];
|
||||
}
|
||||
|
||||
/* Database setup */
|
||||
|
Loading…
Reference in New Issue
Block a user