Fix cache filename

This commit is contained in:
Ivan Shalganov
2013-02-07 19:22:13 +04:00
parent bf6d2231f4
commit e969f1b4fc
3 changed files with 4 additions and 2 deletions

View File

@@ -586,7 +586,7 @@ class Aspect {
*/
private function _getHash($tpl) {
$hash = $tpl.":".$this->_options;
return basename($tpl).".".crc32($hash).".".strlen($hash).".php";
return sprintf("%s.%u.%d.php", basename($tpl), crc32($hash), strlen($hash));
}
/**