[TASK] Set X-UA-Compatible to IE=9 for Backend
[Packages/TYPO3.CMS.git] / typo3 / template.php
index 2327f93..d41a0cd 100644 (file)
@@ -102,6 +102,12 @@ class template {
         */
        protected $useCompatibilityTag = TRUE;
 
+       /**
+        * X-Ua-Compatible version output in meta tag
+        * @var string
+        */
+       protected $xUaCompatibilityVersion = 'IE=9';
+
                // Skinning
                // stylesheets from core
        protected $stylesheetsCore = array(
@@ -700,7 +706,7 @@ class template {
                $this->pageRenderer->addMetaTag($this->generator());
                $this->pageRenderer->addMetaTag('<meta name="robots" content="noindex,follow" />');
                if ($this->useCompatibilityTag) {
-                       $this->pageRenderer->addMetaTag($this->xUaCompatible());
+                       $this->pageRenderer->addMetaTag($this->xUaCompatible($this->xUaCompatibilityVersion));
                }
                $this->pageRenderer->setTitle($title);