upps, get_var not loaded at that time

This commit is contained in:
Ralf Becker 2003-05-18 15:22:43 +00:00
parent 631ea5161a
commit 75874ee975

View File

@ -17,7 +17,7 @@
exit; exit;
} }
$GLOBALS['sessionid'] = get_var('sessionid',array('GET','COOKIE')); $GLOBALS['sessionid'] = isset($_GET['sessionid']) ? $_GET['sessionid'] : $_COOKIE['sessionid'];
if (! $GLOBALS['sessionid']) if (! $GLOBALS['sessionid'])
{ {
Header('Location: login.php'); Header('Location: login.php');