From 8eb893bd4b27ed419c93d4fdeff50aa66d63a86a Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 27 Mar 2009 18:09:55 +0100 Subject: [PATCH] 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. --- kronolith/lib/Kronolith.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'); -- 2.11.0