summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-28 15:53:00 +0200
committerAlib <aliboba@free.fr>2010-03-28 15:53:00 +0200
commiteee1ca77ed0e10ebc89d7e9d467c45f773553b63 (patch)
tree47cd6bb5928df00704da2cf9508a6a78ff621fd7 /bin
parentd9b542524bc76084bad8761178e924fcedef970f (diff)
downloadistreamdev-eee1ca77ed0e10ebc89d7e9d467c45f773553b63.tar.gz
istreamdev-eee1ca77ed0e10ebc89d7e9d467c45f773553b63.tar.bz2
added gzip encoding for Json, now works.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/backend.php3
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');