diff options
author | Alib <aliboba@free.fr> | 2010-03-28 15:24:58 +0200 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-28 15:24:58 +0200 |
commit | 9bae58f18ce68118f980e66cb8b9cf342310e36d (patch) | |
tree | fa09a3775381ed9fea3b238e58b2c9adface7cce /index.php | |
parent | 2b1358884535497eebd6d2ad9a768b56e1953af6 (diff) | |
download | istreamdev-9bae58f18ce68118f980e66cb8b9cf342310e36d.tar.gz istreamdev-9bae58f18ce68118f980e66cb8b9cf342310e36d.tar.bz2 |
added gzip encoding to json & index
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); ?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" manifest="istreamdev.manifest"> <head> |