summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-01-29 01:17:06 +0100
committerUrban Müller2016-01-29 01:17:06 +0100
commit0b595fbd0d1db23b311c9b155455ac09d2ae9f44 (patch)
tree23287d2307f46ab7c0e4158c7440e2352bb123c8
parent80c5bcd3fcc43b692a3296e7d079e568fc4487b7 (diff)
downloaditools-0b595fbd0d1db23b311c9b155455ac09d2ae9f44.tar.gz
itools-0b595fbd0d1db23b311c9b155455ac09d2ae9f44.tar.bz2
itools-0b595fbd0d1db23b311c9b155455ac09d2ae9f44.zip
warning fix
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 247b0e8..67027eb 100644
--- a/itjs.class
+++ b/itjs.class
@@ -203,7 +203,7 @@ static function checksum($fnlist, $p = array())
if ($filenames && $p['short_expire'] && (time() - max(@array_map('filemtime', $filenames)) < 60))
return "-"; # trigger short expire, our file may not yet be up to date on other slaves
else if ($filenames)
- return it_cache::get($key) ?: it_cache::put($key, substr(md5(self::filecontents($filenames, it::match('\.(js|css)', $fnlist))), 0, 10), array('ttl' => 60));
+ return it_cache::get($key) ?: it_cache::put($key, substr(md5(self::filecontents($filenames, it::match('\.(js|css)', join("", $filenames)))), 0, 10), array('ttl' => 60));
}
/**