mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@30 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6727d41ccb
commit
595b1d5e56
7 changed files with 6 additions and 10 deletions
|
|
@ -60,7 +60,7 @@
|
|||
/**
|
||||
* @brief 설치 시도
|
||||
**/
|
||||
function procInstall() {
|
||||
function doInstall() {
|
||||
// 설치가 되어 있는지에 대한 체크
|
||||
if(Context::isInstalled()) {
|
||||
return $this->doError('msg_already_installed');
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
**/
|
||||
function init() {
|
||||
// template 경로를 지정
|
||||
$this->setTemplatePath($this->module_path."skins/default");
|
||||
$this->setTemplatePath($this->module_path."tpl");
|
||||
|
||||
// 컨트롤러 생성
|
||||
$oController = getModule('install','controller');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<filter id='install_filter'>
|
||||
<filter id="install_filter" action="controller" method="install">
|
||||
<field>
|
||||
<item target="db_type" required="true" />
|
||||
<item target="db_hostname" required="true" minlength="1" maxlength="250" />
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
<!--%import("css/install.css")-->
|
||||
<!--%import("js/install.js")-->
|
||||
<!--%import("filter/filter.mysql_form.xml")-->
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFormFilter(this, install_filter, procInstall)">
|
||||
<input type="hidden" name="mid" value="system_install" />
|
||||
<input type="hidden" name="act" value="procInstall" />
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
<table border="1">
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<!--%import("css/install.css")-->
|
||||
<!--%import("js/install.js")-->
|
||||
<table border="1">
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
function procInstall(ret_obj, response_tags) {
|
||||
var error = ret_obj['error'];
|
||||
var message = ret_obj['message'];
|
||||
function procInstall(ret_obj) {
|
||||
var error = ret_obj["error"];
|
||||
var message = ret_obj["message"];
|
||||
alert(message);
|
||||
location.href = "./";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue