mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-04 11:41:38 +02:00
redirect header changes
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3154 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -50,11 +50,9 @@ if (empty($HTTP_POST_VARS['send_file']))
|
||||
require('./pagestart.' . $phpEx);
|
||||
}
|
||||
|
||||
if( $cancel )
|
||||
if ($cancel)
|
||||
{
|
||||
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
|
||||
header($header_location . append_sid("admin_styles.$phpEx"));
|
||||
exit;
|
||||
redirect('admin/' . append_sid("admin_styles.$phpEx", true));
|
||||
}
|
||||
|
||||
if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
|
||||
|
Reference in New Issue
Block a user