mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
issue 2473, remove php5 syntax
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11276 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7f2b3c1db2
commit
58803a8c2c
1 changed files with 2 additions and 2 deletions
|
|
@ -727,12 +727,12 @@
|
||||||
// if there is no instance of the module in global variable, create a new one
|
// if there is no instance of the module in global variable, create a new one
|
||||||
if(!isset($GLOBALS['_loaded_module'][$module][$type][$kind]))
|
if(!isset($GLOBALS['_loaded_module'][$module][$type][$kind]))
|
||||||
{
|
{
|
||||||
self::_getModuleFilePath($module, $type, $kind, $class_path, $high_class_file, $class_file, $instance_name);
|
ModuleHandler::_getModuleFilePath($module, $type, $kind, $class_path, $high_class_file, $class_file, $instance_name);
|
||||||
|
|
||||||
if($extend_module && (!is_readable($high_class_file) || !is_readable($class_file)))
|
if($extend_module && (!is_readable($high_class_file) || !is_readable($class_file)))
|
||||||
{
|
{
|
||||||
$module = $parent_module;
|
$module = $parent_module;
|
||||||
self::_getModuleFilePath($module, $type, $kind, $class_path, $high_class_file, $class_file, $instance_name);
|
ModuleHandler::_getModuleFilePath($module, $type, $kind, $class_path, $high_class_file, $class_file, $instance_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get base class name and load the file contains it
|
// Get base class name and load the file contains it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue