summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2013-10-16 16:09:38 +0000
committerUrban Müller2013-10-16 16:09:38 +0000
commitdf01a22705e1d560d3932fd482f5dcf2ecb5eca7 (patch)
treef02467aa5fc5f1cb4bf38e7fc5b72c6c8cbb4e8a /it_html.class
parent481159435fa6d3acc2532e1c3af181c2375a1e9d (diff)
downloaditools-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.class3
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)