summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 22fd646..9b6cee0 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)), 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));
}
/**