diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2016-03-24 16:07:07 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2016-03-24 16:07:07 +0100 |
| commit | 244d171cb035f0229ad2a06d01062ca809a72025 (patch) | |
| tree | 48b2e704efc4de6c0e7e67b30aab0f370c7eef0d /phpBB/includes/functions.php | |
| parent | a4fac6da2afc64790ada467c9882a31871d14aa8 (diff) | |
| download | forums-244d171cb035f0229ad2a06d01062ca809a72025.tar forums-244d171cb035f0229ad2a06d01062ca809a72025.tar.gz forums-244d171cb035f0229ad2a06d01062ca809a72025.tar.bz2 forums-244d171cb035f0229ad2a06d01062ca809a72025.tar.xz forums-244d171cb035f0229ad2a06d01062ca809a72025.zip | |
[ticket/14136] Add back X-UA-Compatible meta tag
This was previously removed without needing to. Adding it back to force
users to not emulate the page for previous versions of IE. The
imagetoolbar http-equiv tag was not restored as IE does not contain that
anymore since IE7. Also, the chome=1 has been removed from the
X-UA-Compatible content as ChromeFrame does not receive any further
updates since 2014 and is potentially broken.
PHPBB3-14136
Diffstat (limited to 'phpBB/includes/functions.php')
| -rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 72c0d458c6..8e3f62230a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2401,6 +2401,7 @@ function redirect($url, $return = false, $disable_cd_check = false) 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>'; @@ -3997,6 +3998,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline) echo '<html dir="ltr">'; echo '<head>'; echo '<meta charset="utf-8">'; + echo '<meta http-equiv="X-UA-Compatible" content="IE=edge">'; echo '<title>' . $msg_title . '</title>'; echo '<style type="text/css">' . "\n" . '/* <