]> git.wh0rd.org - tt-rss.git/blobdiff - backend.php
only enable ob_gzhandler if it exists
[tt-rss.git] / backend.php
index 1337db5c2e86cc8eca2d57ba3246cacd4ad0152e..efc3793d303213ff0c0ef349392f988b52383653 100644 (file)
@@ -56,7 +56,7 @@
 
        header("Content-Type: text/plain; charset=utf-8");
 
-       if (ENABLE_GZIP_OUTPUT) {
+       if (ENABLE_GZIP_OUTPUT && function_exists("ob_gzhandler")) {
                ob_start("ob_gzhandler");
        }