summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-10-02 12:41:07 +0000
committerThomas BrĂ¼derli2007-10-02 12:41:07 +0000
commitd3bc458e433859e5ae4b517240839db698a28f09 (patch)
tree48b53304b58f869ce071263ef57e89608dd5727a /itjs.php
parent8ddceef470edc16669317965cee69982ff0c6e35 (diff)
downloaditools-d3bc458e433859e5ae4b517240839db698a28f09.tar.gz
itools-d3bc458e433859e5ae4b517240839db698a28f09.tar.bz2
itools-d3bc458e433859e5ae4b517240839db698a28f09.zip
Comments are stripped off, stupid!
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 95d6c0b..818f9b8 100644
--- a/itjs.php
+++ b/itjs.php
@@ -43,13 +43,15 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'])
if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT']))
header("Cache-Control: max-age=900");
+ $data = itjs::strip($data);
+
if ($_REQUEST['boot'])
{
$data .= "window.it_boot_init();\n";
$data .= sprintf("/*sln:% 8d*/", strlen($data) + 16);
}
- echo itjs::strip($data);
+ echo $data;
}
else
header("HTTP/1.0 304 Not Modified");