From 1b57bf401f92f3973a46f7dbe3447d9b161ada91 Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 17 Apr 2007 01:19:33 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1187 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/module/ModuleHandler.class.php | 2 +- config/func.inc.php | 2 +- index.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/classes/module/ModuleHandler.class.php b/classes/module/ModuleHandler.class.php index 618d9d54c..d74ce6edf 100644 --- a/classes/module/ModuleHandler.class.php +++ b/classes/module/ModuleHandler.class.php @@ -237,7 +237,7 @@ /** * @brief 모듈 객체를 생성함 **/ - function getModuleInstance($module, $type = 'view') { + function &getModuleInstance($module, $type = 'view') { $class_path = ModuleHandler::getModulePath($module); if(!$class_path) return NULL; diff --git a/config/func.inc.php b/config/func.inc.php index 53a7502bf..f7dbe2d62 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -22,7 +22,7 @@ * @param type disp, proc, controller, class * @return module instance **/ - function getModule($module_name, $type = 'view') { + function &getModule($module_name, $type = 'view') { return ModuleHandler::getModuleInstance($module_name, $type); } diff --git a/index.php b/index.php index 8633f203b..3e6605d98 100644 --- a/index.php +++ b/index.php @@ -47,5 +47,4 @@ $oModuleHandler->init(); $oModule = &$oModuleHandler->procModule(); $oModuleHandler->displayContent($oModule); - ?>