issue 158, change template cache filename(include XE version)

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9106 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-08 03:12:53 +00:00
parent f6fb8d2463
commit cb606b30b5

View file

@ -60,7 +60,7 @@
$this->web_path = $this->xe_path.str_replace(_XE_PATH_,'',$this->path);
// get compiled file name
$this->compiled_file = sprintf('%s%s.compiled.php',$this->compiled_path, md5($this->file));
$this->compiled_file = sprintf('%s%s.compiled.php',$this->compiled_path, md5($this->file . __ZBXE_VERSION__));
// compare various file's modified time for check changed
$this->handler_mtime = filemtime(_XE_PATH_.'classes/template/TemplateHandler.class.php');