mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
NOISSUE cache/module_info 파일이 없을 때 문제 수정. include.
This commit is contained in:
parent
e96416f3cd
commit
35a385d70f
1 changed files with 1 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ class moduleModel extends module
|
|||
// Check if cached file exists
|
||||
$cache_file = sprintf(_XE_PATH_ . "files/cache/module_info/%s.%s.%s.php", $module, Context::getLangType(), __XE_VERSION__);
|
||||
|
||||
if($cache_file)
|
||||
if(file_exists($cache_file))
|
||||
{
|
||||
$module_info = include($cache_file);
|
||||
if($module_info === 1 || !is_object($module_info)) $re_cache = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue