mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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'];
|
||||
if (!isset($GLOBALS['sessionid']) || !$GLOBALS['sessionid'])
|
||||
{
|
||||
Header('Location: login.php');
|
||||
Header('Location: ../login.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user