diff options
author | Thomas BrĂ¼derli | 2007-10-02 12:34:59 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2007-10-02 12:34:59 +0000 |
commit | 8ddceef470edc16669317965cee69982ff0c6e35 (patch) | |
tree | 79ed08cbc8ec8114145407c6cb13e369a337f446 /itjs.php | |
parent | bbaf65234fc69effce584b6e6b89173693ad907a (diff) | |
download | itools-8ddceef470edc16669317965cee69982ff0c6e35.tar.gz itools-8ddceef470edc16669317965cee69982ff0c6e35.tar.bz2 itools-8ddceef470edc16669317965cee69982ff0c6e35.zip |
Check script length with comment cookie
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -44,7 +44,10 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH']) header("Cache-Control: max-age=900"); if ($_REQUEST['boot']) - $data .= "window.it_boot_init();"; + { + $data .= "window.it_boot_init();\n"; + $data .= sprintf("/*sln:% 8d*/", strlen($data) + 16); + } echo itjs::strip($data); } |