Always cache module and action info

This commit is contained in:
Kijin Sung 2020-06-13 01:04:21 +09:00
parent 1bf5b4c240
commit 4a5159b255

View file

@ -700,7 +700,7 @@ class moduleModel extends module
if($info === null)
{
$info = Rhymix\Framework\Parsers\ModuleInfoParser::loadXML($xml_file);
Rhymix\Framework\Cache::set($cache_key, $info);
Rhymix\Framework\Cache::set($cache_key, $info, 0, true);
}
return $info;
@ -724,7 +724,7 @@ class moduleModel extends module
if($info === null)
{
$info = Rhymix\Framework\Parsers\ModuleActionParser::loadXML($xml_file);
Rhymix\Framework\Cache::set($cache_key, $info);
Rhymix\Framework\Cache::set($cache_key, $info, 0, true);
}
return $info;