summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2013-11-19 13:37:34 +0100
committerChristian Schneider2013-11-19 13:37:34 +0100
commit28fbe9b522ba6af39b03f7f1acc8cc8bbef31d68 (patch)
treec3cb32d59a0d5ce7900f8a83c72b2b24dc89127f
parentc6769fa9fb25b52ea43bf58f91334b8ee1ed5918 (diff)
downloaditools-28fbe9b522ba6af39b03f7f1acc8cc8bbef31d68.tar.gz
itools-28fbe9b522ba6af39b03f7f1acc8cc8bbef31d68.tar.bz2
itools-28fbe9b522ba6af39b03f7f1acc8cc8bbef31d68.zip
No warning when there is no lib.search.ch on machine
-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));
}