diff options
author | Andrew Dolgov <[email protected]> | 2012-03-20 14:45:43 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-03-20 14:45:43 +0400 |
commit | 6a79e8afeb2038fa20796846fd1e2b64113112c3 (patch) | |
tree | 2036be10f5d4485f2d848f7f172fcde7eadbdcf4 /backend.php | |
parent | 787e5ebc2101e3a207a6f4e7deffcc0a07b9e28d (diff) |
only enable ob_gzhandler if it exists
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php index 1337db5c2..efc3793d3 100644 --- a/backend.php +++ b/backend.php @@ -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"); } |