mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
31 lines
751 B
PHP
31 lines
751 B
PHP
<?php
|
|
/**
|
|
* @class installAdminController
|
|
* @author zero (zero@nzeo.com)
|
|
* @brief install module의 admin controller class
|
|
**/
|
|
|
|
class installAdminController extends install {
|
|
|
|
|
|
/**
|
|
* @brief 초기화
|
|
**/
|
|
function init() {
|
|
}
|
|
|
|
/**
|
|
* @brief 모듈 설치
|
|
**/
|
|
function procInstallAdminInstall() {
|
|
$module_name = Context::get('module_name');
|
|
if(!$module_name) return new object(-1, 'invalid_request');
|
|
|
|
$oInstallController = &getController('install');
|
|
$oInstallController->installModule($module_name, './modules/'.$module_name);
|
|
|
|
$this->setMessage('success_installed');
|
|
}
|
|
|
|
}
|
|
?>
|