diff options
author | Christian Schneider | 2021-01-13 16:21:03 +0100 |
---|---|---|
committer | Christian Schneider | 2021-01-13 16:21:03 +0100 |
commit | 4f7f5e4b1fd1077ad134860b32203810ef24c0ce (patch) | |
tree | ad1f7ce97388ff1ac4b11e47960ddebe2ae1fa0f /itjs.class | |
parent | b1548c21528cc8158f09a3acaf6fb8ef51ae7e5f (diff) | |
download | itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.tar.gz itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.tar.bz2 itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.zip |
Unified join to always use implode
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ static function checksum($fnlist, $p = array()) $filenames[] = !file_exists($filename) && file_exists($t = it::replace(array('^/www/[^/]*' => "/www/lib.search.ch"), $filename)) ? $t : $filename; $additional = json_encode($p['additional_data']); - $key = "itjs_" . md5(join("", it::map('"$v" . @filemtime("$v")', $filenames)) . $additional); + $key = "itjs_" . md5(implode("", it::map('"$v" . @filemtime("$v")', $filenames)) . $additional); 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 |