diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-22 21:50:05 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-22 21:50:05 +0000 |
commit | b573258bea45246338267d7ebd5076a07e046070 (patch) | |
tree | 462006b84e9f2e05d01835bd8cd1fc81d0adca69 /phpBB/posting.php | |
parent | ca2a956b6c72a98107048036f555a098ac449a78 (diff) | |
download | forums-b573258bea45246338267d7ebd5076a07e046070.tar forums-b573258bea45246338267d7ebd5076a07e046070.tar.gz forums-b573258bea45246338267d7ebd5076a07e046070.tar.bz2 forums-b573258bea45246338267d7ebd5076a07e046070.tar.xz forums-b573258bea45246338267d7ebd5076a07e046070.zip |
Change redirection header for not logged in redirect ...
git-svn-id: file:///svn/phpbb/trunk@2408 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 6584e241f5..c6d82a71f6 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -334,7 +334,8 @@ if ( !$is_auth[$is_auth_type] ) 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; } |