mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
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:
parent
b225ca7cd1
commit
f665cf843b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue