summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-09-10 12:55:02 +0000
committerThomas BrĂ¼derli2007-09-10 12:55:02 +0000
commit941471e59dd9bc4011ab6a1edba39e70b6ce08a2 (patch)
tree01f3c24e557f1c80a7ccb877bdc8193f4e477f06
parent29be2c4ddfe4dc4631083ac42a611804f7d8ac36 (diff)
downloaditools-941471e59dd9bc4011ab6a1edba39e70b6ce08a2.tar.gz
itools-941471e59dd9bc4011ab6a1edba39e70b6ce08a2.tar.bz2
itools-941471e59dd9bc4011ab6a1edba39e70b6ce08a2.zip
Desperate attempt to fix mysterious syntax errors in IE 6
-rw-r--r--itjs.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index d8932ed..f0b0deb 100644
--- a/itjs.php
+++ b/itjs.php
@@ -45,7 +45,10 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'])
if ($_REQUEST['boot'])
$data .= "window.it_boot_init();";
- echo itjs::strip($data);
+ $data = itjs::strip($data);
+
+ header("Content-Length: " . strlen($data));
+ echo $data;
}
else
header("HTTP/1.0 304 Not Modified");