From 2f2d48e5f59012db0e9dfcf2fa780ccfb2d24b65 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 22 Mar 2002 12:22:58 +0000 Subject: [PATCH] webstar on MacOS X seems to suffer the same refresh issue as IIS CGI, fixed git-svn-id: file:///svn/phpbb/trunk@2394 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/login.php b/phpBB/login.php index c8d7bfa65b..743c53c14f 100644 --- a/phpBB/login.php +++ b/phpBB/login.php @@ -47,7 +47,7 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($ // since this doesn't exist for ISAPI mode and therefore the // normal Location redirector is used in preference // - $header_location = ( @preg_match("/Microsoft/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: "; + $header_location = ( @preg_match("/Microsoft|WebSTAR/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: "; if( ( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) ) && !$userdata['session_logged_in'] ) {