관련상품출력
diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php
index 5c1058883..c0cc2ef09 100644
--- a/adm/shop_admin/configformupdate.php
+++ b/adm/shop_admin/configformupdate.php
@@ -33,6 +33,7 @@ $sql = " update {$g5['g5_shop_default_table']}
de_admin_company_addr = '$de_admin_company_addr',
de_admin_info_name = '$de_admin_info_name',
de_admin_info_email = '$de_admin_info_email',
+ de_root_index_use = '$de_root_index_use',
de_shop_skin = '$de_shop_skin',
de_shop_mobile_skin = '$de_shop_mobile_skin',
de_type1_list_use = '$de_type1_list_use',
diff --git a/index.php b/index.php
index e5cc9c01b..dceff581f 100644
--- a/index.php
+++ b/index.php
@@ -2,6 +2,12 @@
define('_INDEX_', true);
include_once('./_common.php');
+// 루트 index를 쇼핑몰 index 설정했을 때
+if(isset($default['de_root_index_use']) && $default['de_root_index_use']) {
+ require_once(G5_SHOP_PATH.'/index.php');
+ return;
+}
+
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/index.php');
return;
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index c919f822e..cd3431be6 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -193,6 +193,7 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
`de_admin_company_addr` varchar(255) NOT NULL DEFAULT '',
`de_admin_info_name` varchar(255) NOT NULL DEFAULT '',
`de_admin_info_email` varchar(255) NOT NULL DEFAULT '',
+ `de_root_index_use` tinyint(4) NOT NULL DEFAULT '0',
`de_shop_skin` varchar(255) NOT NULL DEFAULT '',
`de_shop_mobile_skin` varchar(255) NOT NULL DEFAULT '',
`de_type1_list_use` tinyint(4) NOT NULL DEFAULT '0',
diff --git a/install/install_db.php b/install/install_db.php
index 1c7ef813d..227383c19 100644
--- a/install/install_db.php
+++ b/install/install_db.php
@@ -218,6 +218,7 @@ if($g5_shop_install) {
de_admin_company_addr = 'OO도 OO시 OO구 OO동 123-45',
de_admin_info_name = '정보책임자명',
de_admin_info_email = '정보책임자 E-mail',
+ de_root_index_use = '0',
de_shop_skin = 'basic',
de_shop_mobile_skin = 'basic',
de_type1_list_use = '1',
diff --git a/mobile/shop/shop.head.php b/mobile/shop/shop.head.php
index 3feeb9961..2cefa06b4 100644
--- a/mobile/shop/shop.head.php
+++ b/mobile/shop/shop.head.php
@@ -19,7 +19,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
-
+
분류
검색 열기
@@ -73,7 +73,9 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
장바구니
개인결제
1:1문의
+
커뮤니티
+
diff --git a/shop/shop.head.php b/shop/shop.head.php
index e6856c833..b70dd7697 100644
--- a/shop/shop.head.php
+++ b/shop/shop.head.php
@@ -31,7 +31,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
-
+
편의메뉴
@@ -79,7 +79,9 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
1:1문의
개인결제
사용후기
+
커뮤니티
+