Fix selection order of ConfigDomain

This commit is contained in:
Miles Lott 2001-11-22 00:50:12 +00:00
parent 6d642420d9
commit 592f7ca4f1

View File

@ -27,7 +27,7 @@
*/
function loaddb()
{
$ConfigDomain = $GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] ? $GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] : $GLOBALS['HTTP_POST_VARS']['ConfigDomain'];
$ConfigDomain = $GLOBALS['HTTP_POST_VARS']['ConfigDomain'] ? $GLOBALS['HTTP_POST_VARS']['ConfigDomain'] : $GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'];
if(empty($ConfigDomain))
{
/* This is to fix the reading of this value immediately after the cookie was set on login */