From 4ce4ae1004a7e65fa6275946074bf301c5e5b5db Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 9 Aug 2013 15:11:13 +0900 Subject: [PATCH 1/2] =?UTF-8?q?#491=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20?= =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=EC=A0=9C=EB=AA=A9=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 11 +++++++++++ adm/board_form_update.php | 1 + mobile/head.php | 6 +++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/adm/board_form.php b/adm/board_form.php index f55805e94..75e3b5b2c 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -73,6 +73,10 @@ if (!isset($board['bo_use_list_file'])) { } } +if (!isset($board['bo_mobile_subject'])) { + sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_subject` VARCHAR(255) NOT NULL DEFAULT '' AFTER `bo_subject` ", false); +} + $required = ""; $readonly = ""; if ($w == '') { @@ -194,6 +198,13 @@ $pg_anchor = ' From a0b352db23ca2a2589194a45e8b2b04fe279a14e Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 9 Aug 2013 16:04:01 +0900 Subject: [PATCH 2/2] =?UTF-8?q?g4s=5Funiqid=20=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=EB=AA=85=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/gnuboard4s.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/gnuboard4s.sql b/install/gnuboard4s.sql index a4caaebd0..3cfa1a280 100644 --- a/install/gnuboard4s.sql +++ b/install/gnuboard4s.sql @@ -632,7 +632,7 @@ CREATE TABLE IF NOT EXISTS `g4s_visit_sum` ( -- Table structure for table `g4s_unique` -- -DROP TABLE IF EXISTS `g4s_unique`; +DROP TABLE IF EXISTS `g4s_uniqid`; CREATE TABLE IF NOT EXISTS `g4s_uniqid` ( `uq_id` bigint(20) unsigned NOT NULL, `uq_ip` varchar(255) NOT NULL,