From 28fbe9b522ba6af39b03f7f1acc8cc8bbef31d68 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 19 Nov 2013 13:37:34 +0100 Subject: No warning when there is no lib.search.ch on machine --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.class') 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)); } -- cgit v1.2.3