#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:
zero 2008-04-21 08:24:27 +00:00
parent 028d3b26f2
commit 0e38dea1d0

View file

@ -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 변수에 생성된 객체 저장