summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index c4ebd6d..207fc6c 100644
--- a/itjs.class
+++ b/itjs.class
@@ -189,7 +189,7 @@ static function strip($code)
static function checksum($fnlist)
{
$filenames = array_merge(is_array($fnlist) ? $fnlist : itjs::filenames($fnlist), array("/www/lib.search.ch/var/jquery-ui/dist/minified/jquery.ui.core.min.js", "/www/lib.search.ch/var/jquery/dist/jquery.min.js"));
- $key = "itjs_" . md5(join("", it::map('"$v" . filemtime("$v")', $filenames)));
+ $key = "itjs_" . md5(join("", it::map('"$v" . @filemtime("$v")', $filenames)));
return it_cache::get($key) ?: it_cache::put($key, substr(md5(self::filecontents($filenames, false)), 0, 8));
}