mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 20:29:57 +09:00
fix #480 class_exists()의 autoload 비활성
This commit is contained in:
parent
d2d59fc367
commit
d01d85946a
5 changed files with 7 additions and 7 deletions
|
|
@ -1021,7 +1021,7 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
|
||||
// Get base class name and load the file contains it
|
||||
if(!class_exists($module))
|
||||
if(!class_exists($module, false))
|
||||
{
|
||||
$high_class_file = sprintf('%s%s%s.class.php', _XE_PATH_, $class_path, $module);
|
||||
if(!file_exists($high_class_file))
|
||||
|
|
@ -1039,7 +1039,7 @@ class ModuleHandler extends Handler
|
|||
|
||||
// Create an instance with eval function
|
||||
require_once($class_file);
|
||||
if(!class_exists($instance_name))
|
||||
if(!class_exists($instance_name, false))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue