From d3bc458e433859e5ae4b517240839db698a28f09 Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Tue, 2 Oct 2007 12:41:07 +0000 Subject: Comments are stripped off, stupid! --- itjs.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'itjs.php') 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"); -- cgit v1.2.3