mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch '3.1.x'
* 3.1.x: [ticket/12101] Remove HTML redirect workaround for Microsoft/IIS webserver
This commit is contained in:
commit
7c2115d95a
1 changed files with 1 additions and 1 deletions
|
@ -1820,7 +1820,7 @@ function redirect($url, $return = false, $disable_cd_check = false)
|
|||
}
|
||||
|
||||
// Redirect via an HTML form for PITA webservers
|
||||
if (@preg_match('#Microsoft|WebSTAR|Xitami#', getenv('SERVER_SOFTWARE')))
|
||||
if (@preg_match('#WebSTAR|Xitami#', getenv('SERVER_SOFTWARE')))
|
||||
{
|
||||
header('Refresh: 0; URL=' . $url);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue