From db83fba992ab0828459cd328df44dd09d8d7e476 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 29 Jul 2015 10:48:38 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EC=B6=94=EA=B0=80=20=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EC=84=A4=EC=A0=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/config_form.php | 28 ++-------------------------- adm/config_form_update.php | 3 --- install/gnuboard5.sql | 3 --- 3 files changed, 2 insertions(+), 32 deletions(-) diff --git a/adm/config_form.php b/adm/config_form.php index c12b65ac9..eafa0ebb0 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -9,12 +9,9 @@ $token = get_token(); if ($is_admin != 'super') alert('최고관리자만 접근 가능합니다.'); -if (!isset($config['cf_include_index'])) { +if (!isset($config['cf_add_script'])) { sql_query(" ALTER TABLE `{$g5['config_table']}` - ADD `cf_include_index` VARCHAR(255) NOT NULL AFTER `cf_admin`, - ADD `cf_include_head` VARCHAR(255) NOT NULL AFTER `cf_include_index`, - ADD `cf_include_tail` VARCHAR(255) NOT NULL AFTER `cf_include_head`, - ADD `cf_add_script` TEXT NOT NULL AFTER `cf_include_tail` ", true); + ADD `cf_add_script` TEXT NOT NULL AFTER `cf_admin_email_name` ", true); } if (!isset($config['cf_mobile_new_skin'])) { @@ -1002,27 +999,6 @@ if ($config['cf_icode_id'] && $config['cf_icode_pw']) { - - - - 초기화면 파일은 index.php 파일과 동일한 위치에 존재해야 합니다.') ?> - - - - - - - 상단 파일은 head.php 파일과 동일한 위치에 존재해야 합니다.') ?> - - - - - - - 초기화면 파일은 tail.php 파일과 동일한 위치에 존재해야 합니다.') ?> - - - diff --git a/adm/config_form_update.php b/adm/config_form_update.php index c82dbd28b..7c2c7891b 100644 --- a/adm/config_form_update.php +++ b/adm/config_form_update.php @@ -29,9 +29,6 @@ $sql = " update {$g5['config_table']} cf_admin = '{$_POST['cf_admin']}', cf_admin_email = '{$_POST['cf_admin_email']}', cf_admin_email_name = '{$_POST['cf_admin_email_name']}', - cf_include_index = '{$_POST['cf_include_index']}', - cf_include_head = '{$_POST['cf_include_head']}', - cf_include_tail = '{$_POST['cf_include_tail']}', cf_add_script = '{$_POST['cf_add_script']}', cf_use_point = '{$_POST['cf_use_point']}', cf_point_term = '{$_POST['cf_point_term']}', diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql index ce6977937..b960a9326 100644 --- a/install/gnuboard5.sql +++ b/install/gnuboard5.sql @@ -189,9 +189,6 @@ CREATE TABLE IF NOT EXISTS `g5_config` ( `cf_admin` varchar(255) NOT NULL DEFAULT '', `cf_admin_email` varchar(255) NOT NULL DEFAULT '', `cf_admin_email_name` varchar(255) NOT NULL DEFAULT '', - `cf_include_index` varchar(255) NOT NULL DEFAULT '', - `cf_include_head` varchar(255) NOT NULL DEFAULT '', - `cf_include_tail` varchar(255) NOT NULL DEFAULT '', `cf_add_script` text NOT NULL, `cf_use_point` tinyint(4) NOT NULL DEFAULT '0', `cf_point_term` int(11) NOT NULL DEFAULT '0',