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

This commit is contained in:
zero 2007-06-04 06:00:47 +00:00
parent 86e8af5b3f
commit f2e47e336d
37 changed files with 27 additions and 3019 deletions

View file

@ -13,7 +13,7 @@
**/
function init() {
// 설치가 되어 있으면 오류
if($this->act != 'procInstallAdminInstall' && Context::isInstalled()) return $this->dispMessage('msg_already_installed');
if(Context::isInstalled()) return $this->dispMessage('msg_already_installed');
}
/**
@ -49,18 +49,6 @@
$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
**/