aboutsummaryrefslogtreecommitdiff
path: root/views/rss/pageshells
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-31 01:51:13 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-31 01:51:13 +0000
commit669e3ecc1cf6564a80128b3d39f18a3b2a9fefcb (patch)
treed760121a26f8f1b86c16b793fc414fd165b60ecc /views/rss/pageshells
parent39fb85265f4e22ff2f87633d2347cecb233e65e5 (diff)
downloadelgg-669e3ecc1cf6564a80128b3d39f18a3b2a9fefcb.tar.gz
elgg-669e3ecc1cf6564a80128b3d39f18a3b2a9fefcb.tar.bz2
Fixes #1289: Pragma: public header added for RSS feeds.
git-svn-id: http://code.elgg.org/elgg/trunk@3868 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/rss/pageshells')
-rw-r--r--views/rss/pageshells/pageshell.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/rss/pageshells/pageshell.php b/views/rss/pageshells/pageshell.php
index 6faf85ead..81d7de43a 100644
--- a/views/rss/pageshells/pageshell.php
+++ b/views/rss/pageshells/pageshell.php
@@ -9,6 +9,10 @@
*/
header("Content-Type: text/xml");
+
+// disable caching for stupid MS products.
+header('Pragma: public', TRUE);
+
echo "<?xml version='1.0'?>\n";
// Set title
@@ -37,4 +41,4 @@ $url = str_replace('&view=rss','',full_url());
?>
</channel>
-</rss> \ No newline at end of file
+</rss>