mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
reverse merge from 1.6.0 (r10108)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10703 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3629fadab8
commit
f194374a79
1 changed files with 14 additions and 3 deletions
|
|
@ -622,6 +622,17 @@
|
||||||
|
|
||||||
$key = $module.'.'.($kind!='admin'?'':'admin').'.'.$type;
|
$key = $module.'.'.($kind!='admin'?'':'admin').'.'.$type;
|
||||||
|
|
||||||
|
if(is_array($GLOBALS['__MODULE_EXTEND__']) && array_key_exists($key, $GLOBALS['__MODULE_EXTEND__']))
|
||||||
|
{
|
||||||
|
$module = $extend_module = $GLOBALS['__MODULE_EXTEND__'][$key];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// if there is no instance of the module in global variable, create a new one
|
||||||
|
if(!isset($GLOBALS['_loaded_module'][$module][$type][$kind]))
|
||||||
|
{
|
||||||
|
$parent_module = $module;
|
||||||
|
|
||||||
if(is_array($GLOBALS['__MODULE_EXTEND__']) && array_key_exists($key, $GLOBALS['__MODULE_EXTEND__'])) {
|
if(is_array($GLOBALS['__MODULE_EXTEND__']) && array_key_exists($key, $GLOBALS['__MODULE_EXTEND__'])) {
|
||||||
$module = $extend_module = $GLOBALS['__MODULE_EXTEND__'][$key];
|
$module = $extend_module = $GLOBALS['__MODULE_EXTEND__'][$key];
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue