From e1f646daa51985486d192a6b62eb471a5745c7be Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 1 Apr 2018 22:59:22 +0900 Subject: [PATCH] =?UTF-8?q?install=EC=8B=9C=20=EC=9E=90=EB=8F=99=20?= =?UTF-8?q?=ED=8F=90=EC=87=84=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/_admin4.php | 2 +- hwe/index.php | 4 ++-- hwe/j_install.php | 3 +++ hwe/j_install_db.php | 2 ++ hwe/js/install.js | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hwe/_admin4.php b/hwe/_admin4.php index 02b50962..1d081a41 100644 --- a/hwe/_admin4.php +++ b/hwe/_admin4.php @@ -125,7 +125,7 @@ echo " $genName $genDate $genIP - $genID + $genID"; ?> diff --git a/hwe/index.php b/hwe/index.php index 60aff31d..d82b40aa 100644 --- a/hwe/index.php +++ b/hwe/index.php @@ -237,11 +237,11 @@ if(Session::getUserGrade() >= 5) { 개인 기록 - + 중원 정세 - + diff --git a/hwe/j_install.php b/hwe/j_install.php index f976d656..f81642fd 100644 --- a/hwe/j_install.php +++ b/hwe/j_install.php @@ -209,6 +209,9 @@ $db->update('plock', [ LogHistory(1); +$prefix = DB::prefix(); +AppConf::getList()[$prefix]->closeServer(); + Json::die([ 'result'=>true ]); \ No newline at end of file diff --git a/hwe/j_install_db.php b/hwe/j_install_db.php index 0594f99d..1c9b443a 100644 --- a/hwe/j_install_db.php +++ b/hwe/j_install_db.php @@ -91,6 +91,8 @@ if($result !== true){ ]); } +AppConf::getList()[$prefix]->closeServer(); + Json::die([ 'result'=>true, 'reason'=>'success' diff --git a/hwe/js/install.js b/hwe/js/install.js index b13a34d2..6f76bf75 100644 --- a/hwe/js/install.js +++ b/hwe/js/install.js @@ -165,7 +165,7 @@ function formSetup(){ return deferred.promise(); }).then(function(){ - //location.href = 'install.php'; + location.href = '..'; }); });