summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2006-12-19 13:45:52 +0000
committerThomas BrĂ¼derli2006-12-19 13:45:52 +0000
commitebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c (patch)
tree98988c9a0492a276bd46f3283950ee1446b4c837
parent63b55edb1bfc386c69ef04b6e8e572bb569199d5 (diff)
downloaditools-ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c.tar.gz
itools-ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c.tar.bz2
itools-ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c.zip
Only use gzip for it_boot requests
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 204235a..c1d8604 100644
--- a/itjs.php
+++ b/itjs.php
@@ -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");