set correct redirection to login.php when no session is available

This commit is contained in:
Pim Snel 2005-06-15 22:14:16 +00:00
parent 0c758b2a46
commit 0abd65ff50

View File

@ -20,7 +20,7 @@
$GLOBALS['sessionid'] = @$_GET['sessionid'] ? $_GET['sessionid'] : @$_COOKIE['sessionid']; $GLOBALS['sessionid'] = @$_GET['sessionid'] ? $_GET['sessionid'] : @$_COOKIE['sessionid'];
if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid']) if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid'])
{ {
Header('Location: login.php'); Header('Location: ../login.php');
exit; exit;
} }