forked from extern/egroupware
set correct redirection to login.php when no session is available
This commit is contained in:
parent
0c758b2a46
commit
0abd65ff50
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user