diff options
author | Alib <aliboba@free.fr> | 2010-03-28 15:53:00 +0200 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-28 15:53:00 +0200 |
commit | eee1ca77ed0e10ebc89d7e9d467c45f773553b63 (patch) | |
tree | 47cd6bb5928df00704da2cf9508a6a78ff621fd7 | |
parent | d9b542524bc76084bad8761178e924fcedef970f (diff) | |
download | istreamdev-eee1ca77ed0e10ebc89d7e9d467c45f773553b63.tar.gz istreamdev-eee1ca77ed0e10ebc89d7e9d467c45f773553b63.tar.bz2 |
added gzip encoding for Json, now works.
-rwxr-xr-x | bin/backend.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/backend.php b/bin/backend.php index c85dc71..7ea0649 100755 --- a/bin/backend.php +++ b/bin/backend.php @@ -1,5 +1,8 @@ <?php +ob_start("ob_gzhandler"); + header('Content-Type: application/json; charset: utf-8'); +header('Content-Encoding: gzip'); if (file_exists('../config.php')) include ('../config.php'); |