change query cache file name(add XE version)

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9104 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-08 02:28:17 +00:00
parent 008b3e451e
commit d287c4ee11

View file

@ -372,7 +372,7 @@
function checkQueryCacheFile($query_id,$xml_file){
// first try finding cache file
$cache_file = sprintf('%s%s%s.cache.php', _XE_PATH_, $this->cache_file, $query_id);
$cache_file = sprintf('%s%s%s.%s.cache.php', _XE_PATH_, $this->cache_file, $query_id, __ZBXE_VERSION__);
if(file_exists($cache_file)) $cache_time = filemtime($cache_file);
else $cache_time = -1;