mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@57 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f58ebf4b6a
commit
771411ac93
3 changed files with 11 additions and 10 deletions
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 설치 시도
|
* @brief 입력받은 정보로 설치를 함
|
||||||
**/
|
**/
|
||||||
function procInstall() {
|
function procInstall() {
|
||||||
// 설치가 되어 있는지에 대한 체크
|
// 설치가 되어 있는지에 대한 체크
|
||||||
|
|
@ -90,6 +90,12 @@
|
||||||
$group_args->is_default = 'N';
|
$group_args->is_default = 'N';
|
||||||
$oMemberController->insertGroup($group_args);
|
$oMemberController->insertGroup($group_args);
|
||||||
|
|
||||||
|
// 관리자 정보 세팅
|
||||||
|
$admin_info = Context::gets('user_id','password','nick_name','user_name', 'email_address');
|
||||||
|
|
||||||
|
// 관리자 정보 입력
|
||||||
|
$oMemberController->insertAdmin($admin_info);
|
||||||
|
|
||||||
// 금지 아이디 등록
|
// 금지 아이디 등록
|
||||||
$oMemberController->insertDeniedID('www','');
|
$oMemberController->insertDeniedID('www','');
|
||||||
$oMemberController->insertDeniedID('root','');
|
$oMemberController->insertDeniedID('root','');
|
||||||
|
|
@ -99,14 +105,9 @@
|
||||||
$oMemberController->insertDeniedID('ftp','');
|
$oMemberController->insertDeniedID('ftp','');
|
||||||
$oMemberController->insertDeniedID('http','');
|
$oMemberController->insertDeniedID('http','');
|
||||||
|
|
||||||
// 관리자 정보 세팅
|
|
||||||
$admin_info = Context::gets('user_id','password','nick_name','user_name', 'email_address');
|
|
||||||
|
|
||||||
// 관리자 정보 입력
|
|
||||||
$oMemberController->insertAdmin($admin_info);
|
|
||||||
|
|
||||||
// 로그인 처리시킴
|
// 로그인 처리시킴
|
||||||
$oMemberController->doLogin($admin_info->user_id, $admin_info->password);
|
$output = $oMemberController->doLogin($admin_info->user_id, $admin_info->password);
|
||||||
|
if(!$output) return $output;
|
||||||
|
|
||||||
// 기본 모듈을 생성
|
// 기본 모듈을 생성
|
||||||
$oModule = getModule('module', 'controller');
|
$oModule = getModule('module', 'controller');
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@
|
||||||
// DB 객체 생성
|
// DB 객체 생성
|
||||||
$oDB = &DB::getInstance();
|
$oDB = &DB::getInstance();
|
||||||
|
|
||||||
$output = $odB->executeQuery('member.getDefaultGroup');
|
$output = $oDB->executeQuery('member.getDefaultGroup');
|
||||||
return $output->data;
|
return $output->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@
|
||||||
/**
|
/**
|
||||||
* @brief mid로 모듈의 정보를 구함
|
* @brief mid로 모듈의 정보를 구함
|
||||||
**/
|
**/
|
||||||
function getModuleInfo($mid='') {
|
function getModuleInfoByMid($mid='') {
|
||||||
// DB 객체 생성후 데이터를 DB에서 가져옴
|
// DB 객체 생성후 데이터를 DB에서 가져옴
|
||||||
$oDB = &DB::getInstance();
|
$oDB = &DB::getInstance();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue