Missed a global

This commit is contained in:
Miles Lott 2001-11-25 02:27:22 +00:00
parent bd2a20dcd8
commit a4053a15c4

View File

@ -27,11 +27,11 @@
*/ */
function loaddb() 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)) if(empty($ConfigDomain))
{ {
/* This is to fix the reading of this value immediately after the cookie was set on login */ /* 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 */ /* Database setup */