summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/actions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 016af4aea..321d928b3 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -244,7 +244,6 @@ function act_permcheck($act){
$permneed = AUTH_CREATE;
}
}elseif(in_array($act,array('login','search','recent','profile','index', 'sitemap'))){
- }elseif(in_array($act,array('login','search','recent','profile','sitemap'))){
$permneed = AUTH_NONE;
}elseif($act == 'revert'){
$permneed = AUTH_ADMIN;
@@ -610,7 +609,7 @@ function act_sitemap($act) {
print "Sitemap generation is disabled.";
exit;
}
-
+
$sitemap = Sitemapper::getFilePath();
if(strrchr($sitemap, '.') === '.gz'){
$mime = 'application/x-gzip';