mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1184 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d29541b5f4
commit
55285bd3f4
3 changed files with 8 additions and 10 deletions
|
|
@ -241,6 +241,8 @@
|
|||
$class_path = ModuleHandler::getModulePath($module);
|
||||
if(!$class_path) return NULL;
|
||||
|
||||
if(__DEBUG__) $start_time = getMicroTime();
|
||||
|
||||
// global 변수에 미리 생성해 둔 객체가 없으면 새로 생성
|
||||
if(!$GLOBALS['_loaded_module'][$module][$type]) {
|
||||
|
||||
|
|
@ -296,6 +298,8 @@
|
|||
$GLOBALS['_loaded_module'][$module][$type] = $oModule;
|
||||
}
|
||||
|
||||
if(__DEBUG__) $GLOBALS['__elapsed_class_load__'] += getMicroTime() - $start_time;
|
||||
|
||||
// 객체 리턴
|
||||
return $GLOBALS['_loaded_module'][$module][$type];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue