mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#455 module instance의 constructor호출시 trackbackController에 trackback()라는 method때문에 생기는 오류를 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4126 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
028d3b26f2
commit
0e38dea1d0
1 changed files with 3 additions and 3 deletions
|
|
@ -335,9 +335,9 @@
|
|||
$oModule->setModulePath($class_path);
|
||||
|
||||
// 요청된 module에 constructor가 있으면 실행
|
||||
if(!isset($GLOBALS['_called_constructor'][$module])) {
|
||||
$GLOBALS['_called_constructor'][$module] = true;
|
||||
if(@method_exists($oModule, $module)) $oModule->{$module}();
|
||||
if(!isset($GLOBALS['_called_constructor'][$instance_name])) {
|
||||
$GLOBALS['_called_constructor'][$instance_name] = true;
|
||||
if(@method_exists($oModule, $instance_name)) $oModule->{$instance_name}();
|
||||
}
|
||||
|
||||
// GLOBALS 변수에 생성된 객체 저장
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue