diff options
author | Guillaume Turri <guillaume.turri@gmail.com> | 2011-01-03 14:46:03 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2011-01-03 14:46:03 +0100 |
commit | 4c36bf829933f31b2adfa813cd61b9b895e31469 (patch) | |
tree | d2a4bca2e1adc1d6f1664b44f71b3ecd2976bb1f /inc | |
parent | ddcde0004fc886990df5b7029e93bb345d7e09b4 (diff) | |
download | rpg-4c36bf829933f31b2adfa813cd61b9b895e31469.tar.gz rpg-4c36bf829933f31b2adfa813cd61b9b895e31469.tar.bz2 |
Change sitemap filename to sitemap.xml(.gz). Closes FS#2127
Diffstat (limited to 'inc')
-rw-r--r-- | inc/actions.php | 1 |
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)); |