diff options
author | Urban Müller | 2016-01-30 00:38:13 +0100 |
---|---|---|
committer | Urban Müller | 2016-01-30 00:38:13 +0100 |
commit | 128541619e9a653972eb917b924a64598a52a06d (patch) | |
tree | f422019c07ca4aa6a37090446c71b8421407ad74 | |
parent | 55535adc55f85d76dc6da7e2225261b24e3d3a3a (diff) | |
download | itools-128541619e9a653972eb917b924a64598a52a06d.tar.gz itools-128541619e9a653972eb917b924a64598a52a06d.tar.bz2 itools-128541619e9a653972eb917b924a64598a52a06d.zip |
force cache flush
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)), 0, 10), array('ttl' => 60)); + return it_cache::get($key) ?: it_cache::put($key, substr(md5("X" . self::filecontents($filenames)), 0, 10), array('ttl' => 60)); } /** |