diff options
Diffstat (limited to 'bin/backend.php')
-rw-r--r-- | bin/backend.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/backend.php b/bin/backend.php index 0eedc2b..b5ef877 100644 --- a/bin/backend.php +++ b/bin/backend.php @@ -8,7 +8,9 @@ if (function_exists('dl')) if (!extension_loaded('zlib')) dl(zlib.so); } -ob_start(); + +if(!ob_start("ob_gzhandler")) + ob_start(); header('Content-Type: application/json; charset: utf-8'); header('Content-Encoding: gzip'); |