diff options
author | Urban Müller | 2013-10-16 16:09:38 +0000 |
---|---|---|
committer | Urban Müller | 2013-10-16 16:09:38 +0000 |
commit | df01a22705e1d560d3932fd482f5dcf2ecb5eca7 (patch) | |
tree | f02467aa5fc5f1cb4bf38e7fc5b72c6c8cbb4e8a /it_html.class | |
parent | 481159435fa6d3acc2532e1c3af181c2375a1e9d (diff) | |
download | itools-df01a22705e1d560d3932fd482f5dcf2ecb5eca7.tar.gz itools-df01a22705e1d560d3932fd482f5dcf2ecb5eca7.tar.bz2 itools-df01a22705e1d560d3932fd482f5dcf2ecb5eca7.zip |
compute checksum over actually used files, cache checksum, kill checksum in delivery
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class index 20b0c75..c7dfc22 100644 --- a/it_html.class +++ b/it_html.class @@ -217,10 +217,9 @@ function head($args = array()) if ($p['js']) { - $checksum = itjs::checksum(itjs::filenames($p['js'])); $js .= $this->_itjs("boot.js", "inline"); $js .= "function it_boot_start(){ " . trim($p['jsboot']) . " }\n"; - $js .= "it_boot('/itjs/" . U($p['js'], array('s' => $checksum)) . "');\n"; + $js .= "it_boot('/itjs/" . U($p['js'], array('s' => itjs::checksum($p['js']))) . "');\n"; } if ($js) |