aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-07-23 21:18:27 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-07-23 21:18:27 +0200
commitc382536f47092f3afc3e283b8bfb4f23f4a0abd1 (patch)
tree8b17db0c92124a6596039ac681f3e49bcd125f90
parentb5e6f34cd909d3059f2a670c8834ceb7027d649f (diff)
parentb59e101d8d0330e66ead269079fba90525838c1e (diff)
downloadforums-c382536f47092f3afc3e283b8bfb4f23f4a0abd1.tar
forums-c382536f47092f3afc3e283b8bfb4f23f4a0abd1.tar.gz
forums-c382536f47092f3afc3e283b8bfb4f23f4a0abd1.tar.bz2
forums-c382536f47092f3afc3e283b8bfb4f23f4a0abd1.tar.xz
forums-c382536f47092f3afc3e283b8bfb4f23f4a0abd1.zip
Merge branch '3.2.x' into 3.3.x
-rw-r--r--phpBB/includes/functions.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index b0b9cc892c..a5f9b68e7a 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1831,27 +1831,6 @@ function redirect($url, $return = false, $disable_cd_check = false)
garbage_collection();
}
- // Redirect via an HTML form for PITA webservers
- if (@preg_match('#WebSTAR|Xitami#', getenv('SERVER_SOFTWARE')))
- {
- header('Refresh: 0; URL=' . $url);
-
- echo '<!DOCTYPE html>';
- echo '<html dir="' . $user->lang['DIRECTION'] . '" lang="' . $user->lang['USER_LANG'] . '">';
- echo '<head>';
- echo '<meta charset="utf-8">';
- echo '<meta http-equiv="X-UA-Compatible" content="IE=edge">';
- echo '<meta http-equiv="refresh" content="0; url=' . str_replace('&', '&amp;', $url) . '" />';
- echo '<title>' . $user->lang['REDIRECT'] . '</title>';
- echo '</head>';
- echo '<body>';
- echo '<div style="text-align: center;">' . sprintf($user->lang['URL_REDIRECT'], '<a href="' . str_replace('&', '&amp;', $url) . '">', '</a>') . '</div>';
- echo '</body>';
- echo '</html>';
-
- exit;
- }
-
// Behave as per HTTP/1.1 spec for others
header('Location: ' . $url);
exit;