aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/posting.php3
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;
}