mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Always cache module and action info
This commit is contained in:
parent
1bf5b4c240
commit
4a5159b255
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue