summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/backend.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/backend.php b/bin/backend.php
index 59f8bd4..9d00294 100644
--- a/bin/backend.php
+++ b/bin/backend.php
@@ -8,9 +8,7 @@ if (function_exists('dl'))
if (!extension_loaded('zlib'))
dl(zlib.so);
}
-
-if(!ob_start("ob_gzhandler"))
- ob_start();
+ob_start();
header('Content-Type: application/json; charset: utf-8');
header('Content-Encoding: gzip');