Skip to content

Commit

Permalink
Change sitemap filename to sitemap.xml(.gz). Closes FS#2127
Browse files Browse the repository at this point in the history
  • Loading branch information
gturri authored and michitux committed Jan 3, 2011
1 parent ddcde00 commit 4c36bf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/actions.php
Expand Up @@ -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));

Expand Down

0 comments on commit 4c36bf8

Please sign in to comment.