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:
flyskyko 2011-09-08 04:32:17 +00:00
parent c82f734f6f
commit c7b35ff5c7

View file

@ -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)) {