summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorChristian Schneider2009-11-17 14:56:39 +0000
committerChristian Schneider2009-11-17 14:56:39 +0000
commitf6dee426b69cf8225c2a2511bb73a8977866137c (patch)
treee607c7e0c943034bd13f86a2619eaf3c760cbb9b /itjs.php
parent16fcdf0efab6726c2f4b80d827490ea22c7430d5 (diff)
downloaditools-f6dee426b69cf8225c2a2511bb73a8977866137c.tar.gz
itools-f6dee426b69cf8225c2a2511bb73a8977866137c.tar.bz2
itools-f6dee426b69cf8225c2a2511bb73a8977866137c.zip
Added start/end marker and cut off prepended and appended stuff (Swisslife)
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 3f88147..5c7152b 100644
--- a/itjs.php
+++ b/itjs.php
@@ -70,7 +70,7 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'])
if ($_REQUEST['boot'])
{
$data .= "window.it_boot_init();\n";
- $data .= sprintf("/*sln:% 8d*/", strlen($data) + 16);
+ $data = sprintf("/*sln:%d*/\n%s/*eln:%d*/", strlen($data), $data, strlen($data));
}
echo it_untaint($data);