Sending X-UA-Compatible as HTTP-Header
authorAlexander Ebert <ebert@woltlab.com>
Wed, 17 Oct 2012 17:47:19 +0000 (19:47 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 17 Oct 2012 17:47:19 +0000 (19:47 +0200)
wcfsetup/install/files/lib/util/HeaderUtil.class.php

index 4444f07f2b7d56b5efac6d0248bd7cd9514af423..065700ea22d235b79352a0710baa01c9633fb38f 100644 (file)
@@ -38,6 +38,9 @@ final class HeaderUtil {
                if (HTTP_ENABLE_GZIP && HTTP_GZIP_LEVEL > 0 && HTTP_GZIP_LEVEL < 10 && !defined('HTTP_DISABLE_GZIP')) {
                        self::compressOutput();
                }
+               
+               // send Internet Explorer compatibility mode
+               @header('X-UA-Compatible: IE=edge');
        }
        
        /**