mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@5 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3bf018c5fa
commit
299ee5fecb
6 changed files with 108 additions and 53 deletions
|
|
@ -92,9 +92,9 @@
|
|||
$output = $oDB->executeQuery('module_manager.getMidInfo', $args);
|
||||
if(!$output->data) return;
|
||||
return module_manager::arrangeModuleInfo($output->data);
|
||||
}
|
||||
}/*}}}*/
|
||||
|
||||
// public object arrangeModuleInfo($source_module_info)
|
||||
// public object arrangeModuleInfo($source_module_info)/*{{{*/
|
||||
// grant, extraVar등의 정리
|
||||
function arrangeModuleInfo($source_module_info) {
|
||||
if(!$source_module_info) return;
|
||||
|
|
@ -119,6 +119,11 @@
|
|||
// 권한의 정리
|
||||
if($grant) $module_info->grant = unserialize($grant);
|
||||
|
||||
// 관리자 아이디의 정리
|
||||
if($module_info->admin_id) {
|
||||
$module_info->admin_id = explode(',',$module_info->admin_id);
|
||||
}
|
||||
|
||||
return $module_info;
|
||||
}/*}}}*/
|
||||
|
||||
|
|
@ -143,7 +148,6 @@
|
|||
$eval_str = sprintf('$oModule = new %s();', $module);
|
||||
eval($eval_str);
|
||||
$oModule->setModulePath($class_path);
|
||||
$oModule->init();
|
||||
|
||||
// 언어파일 읽기
|
||||
Context::loadLang($class_path.'lang');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue