Merge pull request #700 from smaker/develop.module_cache

#647 버그 수정
This commit is contained in:
akasima 2014-05-29 16:22:40 +09:00
commit a3ba821d99

View file

@ -818,7 +818,7 @@ class moduleModel extends module
if(!file_exists($xml_file)) return;
$oCacheHandler = CacheHandler::getInstance('object');
if($oCacheHandler->isSupport())
if($oCacheHandler->isSupport() && date('U', filemtime($xml_file)) < $_SERVER['REQUEST_TIME'] )
{
$object_key = 'module:' . $module . '_' . Context::getLangType() . '_' . __XE_VERSION__;
$cache_key = $oCacheHandler->getGroupKey('site_and_module', $object_key);