diff options
author | Cash Costello <cash.costello@gmail.com> | 2010-07-04 13:44:09 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2010-07-04 13:44:09 -0400 |
commit | 98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905 (patch) | |
tree | 050167c44e421a22ed6eb0f48a035dbd9f3938c3 | |
parent | bfcd3e087980e48b5b908fd30cf2e9b1aa3726e4 (diff) | |
download | elgg-98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905.tar.gz elgg-98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905.tar.bz2 |
added fix for IE8
-rw-r--r-- | views/xml/opensearch/description.php | 4 |
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) { |