diff options
author | Thomas BrĂ¼derli | 2006-12-19 13:45:52 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2006-12-19 13:45:52 +0000 |
commit | ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c (patch) | |
tree | 98988c9a0492a276bd46f3283950ee1446b4c837 | |
parent | 63b55edb1bfc386c69ef04b6e8e572bb569199d5 (diff) | |
download | itools-ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c.tar.gz itools-ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c.tar.bz2 itools-ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c.zip |
Only use gzip for it_boot requests
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ if (ereg('\.gif$', $file)) header("Content-Type: image/gif"); else if (!ereg('\.html$', $file)) { - if (!$_REQUEST['retry']) + if ($_REQUEST['boot'] && !$_REQUEST['retry']) ob_start('ob_gzhandler'); header("Content-Type: application/x-javascript; charset=iso-8859-1"); |