From: Jan Schneider Date: Fri, 27 Mar 2009 17:09:55 +0000 (+0100) Subject: Try to convince IE8. Guess what, it doesn't work. It neither renders as IE7 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8eb893bd4b27ed419c93d4fdeff50aa66d63a86a;p=horde.git Try to convince IE8. Guess what, it doesn't work. It neither renders as IE7 nor as IE8, but picks quirks from both modes, great. --- diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 931cabca2..5bd2b18b1 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -58,7 +58,8 @@ class Kronolith static private $_tagger; /** - * Output everything up to but not including the tag. + * Output everything for the AJAX interface up to but not including the + * tag. * * @param string $title The title of the page. * @param array $scripts Any additional scripts that need to be loaded. @@ -96,6 +97,9 @@ class Kronolith $page_title .= ' :: ' . $title; } + // No IE 8 code at the moment. + header('X-UA-Compatible: IE=7'); + if (isset($GLOBALS['language'])) { header('Content-type: text/html; charset=' . NLS::getCharset()); header('Vary: Accept-Language');