From 98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905 Mon Sep 17 00:00:00 2001
From: Cash Costello <cash.costello@gmail.com>
Date: Sun, 4 Jul 2010 13:44:09 -0400
Subject: added fix for IE8

---
 views/xml/opensearch/description.php | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'views/xml/opensearch')

diff --git a/views/xml/opensearch/description.php b/views/xml/opensearch/description.php
index a77701d46..221cb768e 100644
--- a/views/xml/opensearch/description.php
+++ b/views/xml/opensearch/description.php
@@ -4,6 +4,10 @@
  * http://www.opensearch.org/Specifications/OpenSearch/1.1
  */
 
+// reset cache headers because IE8 is stupid
+header('Pragma: public', TRUE);
+header('Cache-Control: public', TRUE);
+
 $config_ini = dirname(dirname(dirname(dirname(__FILE__)))) . '/config.ini';
 $config = parse_ini_file($config_ini);
 if ($config == FALSE) {
-- 
cgit v1.2.3