diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-07-23 21:18:22 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-07-23 21:18:22 +0200 |
commit | b59e101d8d0330e66ead269079fba90525838c1e (patch) | |
tree | 5faaa32f18e626ee4ba6441f24b8379faab7eeb2 /phpBB/includes | |
parent | a4ad94ef5c08798fbe55f3f114fd2b256beb3789 (diff) | |
parent | 0c3ff0419c81c0901b6a991d70f2e5e709e4a233 (diff) | |
download | forums-b59e101d8d0330e66ead269079fba90525838c1e.tar forums-b59e101d8d0330e66ead269079fba90525838c1e.tar.gz forums-b59e101d8d0330e66ead269079fba90525838c1e.tar.bz2 forums-b59e101d8d0330e66ead269079fba90525838c1e.tar.xz forums-b59e101d8d0330e66ead269079fba90525838c1e.zip |
Merge pull request #5610 from espipj/ticket/16070
[ticket/16070] Remove support for WebSTAR and Xitami
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 3acccb1e93..5cc6826cb9 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1843,27 +1843,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('&', '&', $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('&', '&', $url) . '">', '</a>') . '</div>'; - echo '</body>'; - echo '</html>'; - - exit; - } - // Behave as per HTTP/1.1 spec for others header('Location: ' . $url); exit; |