mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 02:06:32 +02:00
Added exit's after those header location redirects without them
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2575 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -37,7 +37,8 @@ if ( !defined('INSTALLING') )
|
||||
|
||||
if( defined("PHPBB_INSTALLED") )
|
||||
{
|
||||
header("Location: index.$phpEx");
|
||||
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
|
||||
header($header_location . " index.$phpEx");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user