git-svn-id: http://xe-core.googlecode.com/svn/trunk@1194 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-17 04:09:22 +00:00
parent 4ecfe64485
commit 4c123b4395
9 changed files with 63 additions and 34 deletions

View file

@ -241,7 +241,7 @@
$class_path = ModuleHandler::getModulePath($module);
if(!$class_path) return NULL;
if(__DEBUG__) $start_time = getMicroTime();
if(__DEBUG__==3) $start_time = getMicroTime();
// global 변수에 미리 생성해 둔 객체가 없으면 새로 생성
if(!$GLOBALS['_loaded_module'][$module][$type]) {
@ -298,7 +298,7 @@
$GLOBALS['_loaded_module'][$module][$type] = $oModule;
}
if(__DEBUG__) $GLOBALS['__elapsed_class_load__'] += getMicroTime() - $start_time;
if(__DEBUG__==3) $GLOBALS['__elapsed_class_load__'] += getMicroTime() - $start_time;
// 객체 리턴
return $GLOBALS['_loaded_module'][$module][$type];