summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-02 02:52:10 +0000
committertill <till@php.net>2008-02-02 02:52:10 +0000
commit8d3e2a54baf07f36aeb358f7ab83d6d3d2838ed5 (patch)
treed59fd60ba2b084a35b250e265a15fb8eb9d3a348 /index.php
parentd75921732befa98dc8164300662451c5e659d251 (diff)
* reverting patch from #1484236
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index d281ff6f4..1cea295be 100644
--- a/index.php
+++ b/index.php
@@ -103,7 +103,7 @@ if (empty($_task) || !in_array($_task, $MAIN_TASKS))
if ($_action != 'get' && $_action != 'viewsource')
{
// use gzip compression if supported
- if (function_exists('ob_gzhandler') && ini_get('zlib.output_compression'))
+ if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
ob_start('ob_gzhandler');
else
ob_start();