[Fusionforge-commits] r14682 - trunk/src/common/include

Alain Peyrat aljeux at fusionforge.org
Wed Oct 19 18:41:57 CEST 2011


Author: aljeux
Date: 2011-10-19 18:41:56 +0200 (Wed, 19 Oct 2011)
New Revision: 14682

Modified:
   trunk/src/common/include/pre.php
Log:
Use latest rendering engine for IE (bypass compatibility mode)

Modified: trunk/src/common/include/pre.php
===================================================================
--- trunk/src/common/include/pre.php	2011-10-18 19:31:56 UTC (rev 14681)
+++ trunk/src/common/include/pre.php	2011-10-19 16:41:56 UTC (rev 14682)
@@ -45,6 +45,11 @@
 	exit;
 }
 
+// Use latest rendering engine for IE (bypass compatibility mode)
+if (isset($_SERVER['HTTP_USER_AGENT']) && stripos($_SERVER['HTTP_USER_AGENT'], "msie")) {
+	header("X-UA-Compatible: IE=edge");
+}
+
 if (!isset($no_gz_buffer) || !$no_gz_buffer) {
 	ob_start("ob_gzhandler");
 }




More information about the Fusionforge-commits mailing list