r7890 추가 XMLQuery Cache파일 체크추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7923 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-11-26 08:53:52 +00:00
parent d6c29a7415
commit 5d6952a3d5

View file

@ -286,7 +286,7 @@
else $cache_time = -1;
// if there is no cache file or is not new, find original xml query file and parse it
if($cache_time < filemtime($xml_file) || $cache_time < filemtime(_XE_PATH_.'classes/db/DB.class.php')) {
if($cache_time < filemtime($xml_file) || $cache_time < filemtime(_XE_PATH_.'classes/db/DB.class.php' || $cache_time < filemtime(_XE_PATH_.'classes/xml/XmlQueryParser.class.php')) {
require_once(_XE_PATH_.'classes/xml/XmlQueryParser.class.php');
$oParser = new XmlQueryParser();
$oParser->parse($query_id, $xml_file, $cache_file);