mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Change redirection header for not logged in redirect ...
git-svn-id: file:///svn/phpbb/trunk@2408 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ca2a956b6c
commit
b573258bea
1 changed files with 2 additions and 1 deletions
|
@ -334,7 +334,8 @@ if ( !$is_auth[$is_auth_type] )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
|
$header_location = ( @preg_match("/Microsoft|WebSTAR/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
|
||||||
|
header($header_location . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue