From ebf28b8ffc0fd29cf79c6da9e95a9c5013bbf32c Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Tue, 19 Dec 2006 13:45:52 +0000 Subject: Only use gzip for it_boot requests --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') 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"); -- cgit v1.2.3