Added DB type to query cache file name.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9845 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-11-17 13:02:24 +00:00
parent b225ca7cd1
commit f665cf843b

View file

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