From 0a1d81be76abcdfef46551bbe27681dddc4da9c2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 13 Mar 2022 20:16:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Web=20UI=EB=A1=9C=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=20install=EC=9D=B4=20=EB=B6=88=EA=B0=80=EB=8A=A5=ED=95=9C=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 5 ++--- hwe/ts/gateway/install.ts | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index b72e474c..9419bcea 100644 --- a/composer.json +++ b/composer.json @@ -35,15 +35,14 @@ "autoload": { "psr-4": { "sammo\\": [ + "d_setting", "src/sammo" ], "kakao\\": [ + "d_setting", "src/kakao" ] }, - "classmap": [ - "d_setting/" - ], "exclude-from-classmap": [ "**/*.orig.php" ], diff --git a/hwe/ts/gateway/install.ts b/hwe/ts/gateway/install.ts index d43c6dff..d06541f5 100644 --- a/hwe/ts/gateway/install.ts +++ b/hwe/ts/gateway/install.ts @@ -260,7 +260,7 @@ function setupAdminForm() { } }, } - const validator = new JQValidateForm($('#db_form'), descriptor); + const validator = new JQValidateForm($('#admin_form'), descriptor); validator.installChangeHandler(); $('#admin_form').on('submit', async function (e) { @@ -278,7 +278,7 @@ function setupAdminForm() { let result: InvalidResponse; try { const response = await axios({ - url: 'j_setup_db.php', + url: 'j_create_admin.php', method: 'post', responseType: 'json', data: convertFormData({ @@ -299,7 +299,7 @@ function setupAdminForm() { return; } - alert('RootDB.php가 생성되었습니다. 관리자 계정 생성을 진행합니다.'); + alert('관리자 계정이 생성되었습니다.'); await changeInstallMode(); }); }