Thinking about this a bit more - any version upgrade should cause a new
mtime for a file that has been altered. So there is no need to tack on
version information.
This allows different applications that have the same include files
(will only ever happen with javascript) to share a single cached file.
sort($s_list);
- $sig = hash('md5', serialize($s_list) . max($mtime) . $GLOBALS['registry']->getVersion());
+ $sig = hash('md5', serialize($s_list) . max($mtime));
switch ($cache_type) {
case 'filesystem':
$mtime[] = filemtime($file['f']);
}
- $sig = hash('md5', serialize($css) . max($mtime) . $GLOBALS['registry']->getVersion());
+ $sig = hash('md5', serialize($css) . max($mtime));
switch ($cache_type) {
case 'filesystem':