From df01a22705e1d560d3932fd482f5dcf2ecb5eca7 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 16 Oct 2013 16:09:38 +0000 Subject: compute checksum over actually used files, cache checksum, kill checksum in delivery --- it_html.class | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'it_html.class') 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) -- cgit v1.2.3