aboutsummaryrefslogtreecommitdiff
path: root/views/xml/opensearch
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-07-04 13:44:09 -0400
committerCash Costello <cash.costello@gmail.com>2010-07-04 13:44:09 -0400
commit98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905 (patch)
tree050167c44e421a22ed6eb0f48a035dbd9f3938c3 /views/xml/opensearch
parentbfcd3e087980e48b5b908fd30cf2e9b1aa3726e4 (diff)
downloadelgg-98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905.tar.gz
elgg-98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905.tar.bz2
added fix for IE8
Diffstat (limited to 'views/xml/opensearch')
-rw-r--r--views/xml/opensearch/description.php4
1 files changed, 4 insertions, 0 deletions
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) {