From ab8c94b53fc2e9cb968bd7270eb1109db85a993e Mon Sep 17 00:00:00 2001 From: thisgun Date: Fri, 3 May 2019 16:34:57 +0900 Subject: [PATCH] =?UTF-8?q?G5=5FCOMMUNITY=5FUSE=20=EC=83=81=EC=88=98?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=B2=B4=ED=81=AC=EB=AC=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _common.php | 2 +- adm/theme_preview.php | 4 ++-- bbs/_common.php | 2 +- head.php | 2 +- plugin/social/_common.php | 2 +- shop/shop.head.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_common.php b/_common.php index 9969c3802..9dfa8b4d8 100644 --- a/_common.php +++ b/_common.php @@ -2,7 +2,7 @@ include_once('./common.php'); // 커뮤니티 사용여부 -if(G5_COMMUNITY_USE === false) { +if(defined('G5_COMMUNITY_USE') && G5_COMMUNITY_USE === false) { if (!defined('G5_USE_SHOP') || !G5_USE_SHOP) die('

쇼핑몰 설치 후 이용해 주십시오.

'); diff --git a/adm/theme_preview.php b/adm/theme_preview.php index dd5467d4a..9255dc179 100644 --- a/adm/theme_preview.php +++ b/adm/theme_preview.php @@ -15,7 +15,7 @@ $mode = substr(strip_tags($_GET['mode']), 0, 20); if(!in_array($mode, $arr_mode)) $mode = 'index'; -if(G5_COMMUNITY_USE === false || $mode == 'shop' || $mode == 'ca_list' || $mode == 'item') +if((defined('G5_COMMUNITY_USE') && G5_COMMUNITY_USE === false) || $mode == 'shop' || $mode == 'ca_list' || $mode == 'item') define('_SHOP_', true); $qstr_index = '&mode=index'; @@ -150,7 +150,7 @@ require_once(G5_PATH.'/head.sub.php');
  • 게시글 리스트
  • 게시글 보기
  • - +
  • 쇼핑몰
  • 상품리스트
  • diff --git a/bbs/_common.php b/bbs/_common.php index 6c3cf08ce..c30dfcc0f 100644 --- a/bbs/_common.php +++ b/bbs/_common.php @@ -2,7 +2,7 @@ include_once('../common.php'); // 커뮤니티 사용여부 -if(G5_COMMUNITY_USE === false) { +if(defined('G5_COMMUNITY_USE') && G5_COMMUNITY_USE === false) { if (!defined('G5_USE_SHOP') || !G5_USE_SHOP) die('

    쇼핑몰 설치 후 이용해 주십시오.

    '); diff --git a/head.php b/head.php index ab536b366..2962b39c1 100644 --- a/head.php +++ b/head.php @@ -46,7 +46,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
  • 로그인
  • - +
  • 쇼핑몰
  • 커뮤니티
  • diff --git a/plugin/social/_common.php b/plugin/social/_common.php index ce41b8328..b8fbe2d80 100644 --- a/plugin/social/_common.php +++ b/plugin/social/_common.php @@ -2,7 +2,7 @@ include_once('../../common.php'); // 커뮤니티 사용여부 -if(G5_COMMUNITY_USE === false) { +if(defined('G5_COMMUNITY_USE') && G5_COMMUNITY_USE === false) { define('_SHOP_', true); } ?> \ No newline at end of file diff --git a/shop/shop.head.php b/shop/shop.head.php index 4aa916192..f6b788498 100644 --- a/shop/shop.head.php +++ b/shop/shop.head.php @@ -28,7 +28,7 @@ include_once(G5_LIB_PATH.'/latest.lib.php');

    회원메뉴