summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/init.php b/inc/init.php
index 4105225ea..3cafab986 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -133,9 +133,9 @@ global $ACT;
if ($conf['gzip_output'] &&
!defined('DOKU_DISABLE_GZIP_OUTPUT') &&
function_exists('ob_gzhandler') &&
- // Disable compression when a compressed sitemap might be delivered
+ // Disable compression when a (compressed) sitemap might be delivered
// See https://bugs.dokuwiki.org/index.php?do=details&task_id=2576
- !($ACT == 'sitemap' && Sitemapper::sitemapIsCompressed())) {
+ $ACT != 'sitemap') {
ob_start('ob_gzhandler');
}