From b573258bea45246338267d7ebd5076a07e046070 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 22 Mar 2002 21:50:05 +0000 Subject: [PATCH] Change redirection header for not logged in redirect ... git-svn-id: file:///svn/phpbb/trunk@2408 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }