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@1208 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
43f5fe2356
commit
2be28490ce
12 changed files with 87 additions and 208 deletions
|
|
@ -6,6 +6,8 @@
|
|||
<action name="dispInstallCheckEnv" type="view" standalone="true" />
|
||||
<action name="dispInstallSelectDB" type="view" standalone="true" />
|
||||
<action name="dispInstallForm" type="view" standalone="true" />
|
||||
|
||||
<action name="procInstall" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminInstall" type="controller" standalone="true" />
|
||||
</actions>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
**/
|
||||
function init() {
|
||||
// 설치가 되어 있으면 오류
|
||||
if(Context::isInstalled()) return $this->dispMessage('msg_already_installed');
|
||||
if($this->act != 'procInstallAdminInstall' && Context::isInstalled()) return $this->dispMessage('msg_already_installed');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -49,6 +49,18 @@
|
|||
$this->setMessage('msg_install_completed');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 모듈 설치
|
||||
**/
|
||||
function procInstallAdminInstall() {
|
||||
$module_name = Context::get('module_name');
|
||||
if(!$module_name) return new object(-1, 'invalid_request');
|
||||
|
||||
$this->installModule($module_name, './modules/'.$module_name);
|
||||
|
||||
$this->setMessage('success_installed');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 인스톨 환경을 체크하여 결과 return
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@
|
|||
|
||||
$lang->about_database_file = 'Sqlite는 파일에 데이터를 저장합니다. 데이터베이스 파일의 위치를 웹에서 접근할 수 없는 곳으로 하셔야 합니다';
|
||||
|
||||
$lang->success_installed = '설치가 되었습니다';
|
||||
$lang->success_updated = '업데이트가 되었습니다';
|
||||
|
||||
$lang->msg_cannot_proc = '설치 환경이 갖춰지지 않아 요청을 실행할 수가 없습니다';
|
||||
$lang->msg_already_installed = '이미 설치가 되어 있습니다';
|
||||
$lang->msg_dbconnect_failed = "DB접속 오류가 발생하였습니다.\nDB정보를 다시 확인해주세요";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue