|
diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php
index 424d20c0f..87790c089 100644
--- a/adm/shop_admin/configformupdate.php
+++ b/adm/shop_admin/configformupdate.php
@@ -139,6 +139,7 @@ $sql = " update {$g5['g5_shop_default_table']}
de_sms_use5 = '$de_sms_use5',
de_sms_hp = '$de_sms_hp',
de_item_use_use = '$de_item_use_use',
+ de_item_use_write = '$de_item_use_write',
de_code_dup_use = '$de_code_dup_use',
de_cart_keep_term = '$de_cart_keep_term',
de_guest_cart_use = '$de_guest_cart_use',
diff --git a/extend/shop.extend2.php b/extend/shop.extend2.php
index 90a62eff5..d8b5093e2 100644
--- a/extend/shop.extend2.php
+++ b/extend/shop.extend2.php
@@ -654,4 +654,22 @@ if(!sql_query(" select it_explan2 from {$g5['g5_shop_item_table']} limit 1 ", fa
sql_query(" ALTER TABLE `{$g5['g5_shop_item_table']}`
ADD `it_explan2` MEDIUMTEXT NOT NULL AFTER `it_explan` ", true);
}
+
+// de_rel_list_use 추가
+if(!sql_query(" select de_rel_list_use from {$g5['g5_shop_default_table']} ", false)) {
+ sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
+ ADD `de_rel_list_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_mobile_type5_img_height`,
+ ADD `de_rel_list_skin` varchar(255) NOT NULL DEFAULT '' AFTER `de_rel_list_use`,
+ ADD `de_search_list_skin` varchar(255) NOT NULL DEFAULT '' AFTER `de_rel_img_height`,
+ ADD `de_search_list_mod` int(11) NOT NULL DEFAULT '0' AFTER `de_search_list_skin`,
+ ADD `de_search_list_row` int(11) NOT NULL DEFAULT '0' AFTER `de_search_list_mod`,
+ ADD `de_search_img_width` int(11) NOT NULL DEFAULT '0' AFTER `de_search_list_row`,
+ ADD `de_search_img_height` int(11) NOT NULL DEFAULT '0' AFTER `de_search_img_width` ", true);
+}
+
+// 사용후기 쓰기 설정 추가
+if(!sql_query(" select de_item_use_write from {$g5['g5_shop_default_table']} ", false)) {
+ sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
+ ADD `de_item_use_write` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_item_use_use` ", true);
+}
?>
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index 8f3351b2b..6c600f253 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -250,9 +250,16 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_mobile_type5_list_mod` int(11) NOT NULL DEFAULT '0',
`de_mobile_type5_img_width` int(11) NOT NULL DEFAULT '0',
`de_mobile_type5_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_rel_list_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_rel_list_skin` varchar(255) NOT NULL DEFAULT '0',
`de_rel_list_mod` int(11) NOT NULL DEFAULT '0',
`de_rel_img_width` int(11) NOT NULL DEFAULT '0',
`de_rel_img_height` int(11) NOT NULL DEFAULT '0',
+ `de_search_list_skin` varchar(255) NOT NULL DEFAULT '0',
+ `de_search_list_mod` int(11) NOT NULL DEFAULT '0',
+ `de_search_list_row` int(11) NOT NULL DEFAULT '0',
+ `de_search_img_width` int(11) NOT NULL DEFAULT '0',
+ `de_search_img_height` int(11) NOT NULL DEFAULT '0',
`de_bank_use` int(11) NOT NULL DEFAULT '0',
`de_bank_account` text NOT NULL,
`de_card_test` int(11) NOT NULL DEFAULT '0',
@@ -291,6 +298,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_kcp_mid` varchar(255) NOT NULL DEFAULT '',
`de_iche_use` tinyint(4) NOT NULL DEFAULT '0',
`de_item_use_use` tinyint(4) NOT NULL DEFAULT '0',
+ `de_item_use_write` tinyint(4) NOT NULL DEFAULT '0',
`de_code_dup_use` tinyint(4) NOT NULL DEFAULT '0',
`de_cart_keep_term` int(11) NOT NULL DEFAULT '0',
`de_guest_cart_use` tinyint(4) NOT NULL DEFAULT '0',
|