From 4c36bf829933f31b2adfa813cd61b9b895e31469 Mon Sep 17 00:00:00 2001 From: Guillaume Turri Date: Mon, 3 Jan 2011 14:46:03 +0100 Subject: Change sitemap filename to sitemap.xml(.gz). Closes FS#2127 --- inc/actions.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc') 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)); -- cgit v1.2.3