diff options
author | Alib <aliboba@free.fr> | 2010-03-30 10:54:40 +0200 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-30 10:54:40 +0200 |
commit | f21cb1c93557afb69a68ea6b5f8eb65fafecf1f0 (patch) | |
tree | a9b530c67f945417157df47c974713f2e59d852d /bin/backend.php | |
parent | 1907228668303c3050035b889ae3ac346205f07b (diff) | |
download | istreamdev-f21cb1c93557afb69a68ea6b5f8eb65fafecf1f0.tar.gz istreamdev-f21cb1c93557afb69a68ea6b5f8eb65fafecf1f0.tar.bz2 |
default to no compression if browser don't support gzip
Diffstat (limited to 'bin/backend.php')
-rw-r--r-- | bin/backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/backend.php b/bin/backend.php index 7ea0649..cef568c 100644 --- a/bin/backend.php +++ b/bin/backend.php @@ -1,5 +1,5 @@ <?php -ob_start("ob_gzhandler"); +if(!ob_start("ob_gzhandler")) ob_start(); header('Content-Type: application/json; charset: utf-8'); header('Content-Encoding: gzip'); |