mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@451 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
93872affd9
commit
bdea44a02b
2 changed files with 13 additions and 3 deletions
|
|
@ -121,8 +121,9 @@
|
||||||
**/
|
**/
|
||||||
function installDownloadedModule() {
|
function installDownloadedModule() {
|
||||||
|
|
||||||
// install 모듈은 미리 설치
|
// install, module 모듈은 미리 설치
|
||||||
$this->installModule('install', './modules/install/');
|
$this->installModule('install', './modules/install/');
|
||||||
|
$this->installModule('module', './modules/module/');
|
||||||
|
|
||||||
// 각 모듈의 schemas/*.xml 파일을 모두 찾아서 table 생성
|
// 각 모듈의 schemas/*.xml 파일을 모두 찾아서 table 생성
|
||||||
$module_list_1 = FileHandler::readDir('./modules/', NULL, false, true);
|
$module_list_1 = FileHandler::readDir('./modules/', NULL, false, true);
|
||||||
|
|
@ -133,8 +134,8 @@
|
||||||
$tmp_arr = explode('/',$module_path);
|
$tmp_arr = explode('/',$module_path);
|
||||||
$module = $tmp_arr[count($tmp_arr)-1];
|
$module = $tmp_arr[count($tmp_arr)-1];
|
||||||
|
|
||||||
// module이 install이면 패스~
|
// 미리 수동으로 설치한 모듈이면 패스~
|
||||||
if($module == 'install') continue;
|
if(in_array($module, array('install','module'))) continue;
|
||||||
|
|
||||||
$this->installModule($module, $module_path);
|
$this->installModule($module, $module_path);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,15 @@
|
||||||
@chmod($dir, 0707);
|
@chmod($dir, 0707);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// page 모듈로 모듈 추가
|
||||||
|
$oDB = &DB::getInstance();
|
||||||
|
$oModuleController = &getController('module');
|
||||||
|
|
||||||
|
$args->module_srl = $oDB->getNextSequence();
|
||||||
|
$args->mid = "pagemaker";
|
||||||
|
$args->module = "pagemaker";
|
||||||
|
$oModuleController->insertModule($args);
|
||||||
|
|
||||||
return new Object();
|
return new Object();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue