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

This commit is contained in:
zero 2007-03-15 03:36:44 +00:00
parent 93872affd9
commit bdea44a02b
2 changed files with 13 additions and 3 deletions

View file

@ -121,8 +121,9 @@
**/
function installDownloadedModule() {
// install 모듈은 미리 설치
// install, module 모듈은 미리 설치
$this->installModule('install', './modules/install/');
$this->installModule('module', './modules/module/');
// 각 모듈의 schemas/*.xml 파일을 모두 찾아서 table 생성
$module_list_1 = FileHandler::readDir('./modules/', NULL, false, true);
@ -133,8 +134,8 @@
$tmp_arr = explode('/',$module_path);
$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);
}

View file

@ -24,6 +24,15 @@
@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();
}