From 9bae58f18ce68118f980e66cb8b9cf342310e36d Mon Sep 17 00:00:00 2001 From: Alib Date: Sun, 28 Mar 2010 15:24:58 +0200 Subject: added gzip encoding to json & index --- index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 63851b5..3a76c9d 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,9 @@ if (file_exists('config.php')) else include ('config_default.php'); include ('bin/auth.php'); +if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?> + -- cgit v1.2.3