summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Turri <guillaume.turri@gmail.com>2011-01-03 14:46:03 +0100
committerMichael Hamann <michael@content-space.de>2011-01-03 14:46:03 +0100
commit4c36bf829933f31b2adfa813cd61b9b895e31469 (patch)
treed2a4bca2e1adc1d6f1664b44f71b3ecd2976bb1f
parentddcde0004fc886990df5b7029e93bb345d7e09b4 (diff)
downloadrpg-4c36bf829933f31b2adfa813cd61b9b895e31469.tar.gz
rpg-4c36bf829933f31b2adfa813cd61b9b895e31469.tar.bz2
Change sitemap filename to sitemap.xml(.gz). Closes FS#2127
-rw-r--r--inc/actions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 0297f6e56..016af4aea 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -626,6 +626,7 @@ function act_sitemap($act) {
if (is_readable($sitemap)) {
// Send headers
header('Content-Type: '.$mime);
+ header('Content-Disposition: attachment; filename='.basename($sitemap));
http_conditionalRequest(filemtime($sitemap));