mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
issue 159, add XE version to module info cache filename
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9109 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c82f734f6f
commit
c7b35ff5c7
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@
|
|||
$xml_file = sprintf("%sconf/module.xml", $class_path);
|
||||
if(!file_exists($xml_file)) return;
|
||||
// Check if cached file exists
|
||||
$cache_file = sprintf("./files/cache/module_info/%s.%s.php", $module, Context::getLangType());
|
||||
$cache_file = sprintf("./files/cache/module_info/%s.%s.%s.php", $module, Context::getLangType(), __ZBXE_VERSION__);
|
||||
// Update if no cache file exists or it is older than xml file
|
||||
if(!file_exists($cache_file) || filemtime($cache_file)<filemtime($xml_file)) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue