diff options
author | Alib <aliboba@free.fr> | 2010-04-04 15:08:15 +0200 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-04-04 15:08:15 +0200 |
commit | 69d41b5e3d08a08e414c974730d3f6b2b9b7d21f (patch) | |
tree | ebe912f742958d3b602463988245a5932d937ee9 /bin/backend.php | |
parent | 31f59e914e3c2ce50221bfb124356f635a7446f7 (diff) | |
download | istreamdev-69d41b5e3d08a08e414c974730d3f6b2b9b7d21f.tar.gz istreamdev-69d41b5e3d08a08e414c974730d3f6b2b9b7d21f.tar.bz2 |
removed gzhandler, module zlib is already loaded
Diffstat (limited to 'bin/backend.php')
-rw-r--r-- | bin/backend.php | 4 |
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'); |