1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02: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:
Paul S. Owen
2002-03-22 21:50:05 +00:00
parent ca2a956b6c
commit b573258bea

View File

@@ -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;
}