_SHOP_ 상수선언을 _common.php 파일에서 하도록 수정

This commit is contained in:
chicpro
2013-05-06 20:39:34 +09:00
parent 1b052d2591
commit 845cbf0816
4 changed files with 1 additions and 3 deletions

View File

@ -3,4 +3,5 @@ include_once('../common.php');
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP)
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
define('_SHOP_', true);
?>

View File

@ -14,7 +14,6 @@ if (!$it['it_name'])
alert_close("등록된 상품이 아닙니다.");
$g4['title'] = $it['it_name'].' - 추천하기';
define('_SHOP_', true);
include_once(G4_PATH.'/head.sub.php');
?>

View File

@ -1,5 +1,4 @@
<?php
define('_SHOP_', true);
include_once('./_common.php');
$it_id = $_GET['it_id'];

View File

@ -1,6 +1,5 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
define('_SHOP_', true);
include_once(G4_PATH.'/head.sub.php');
include_once(G4_LIB_PATH.'/outlogin.lib.php');