_SHOP_ 상수선언을 _common.php 파일에서 하도록 수정
This commit is contained in:
@ -3,4 +3,5 @@ include_once('../common.php');
|
|||||||
|
|
||||||
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP)
|
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP)
|
||||||
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
|
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
|
||||||
|
define('_SHOP_', true);
|
||||||
?>
|
?>
|
||||||
@ -14,7 +14,6 @@ if (!$it['it_name'])
|
|||||||
alert_close("등록된 상품이 아닙니다.");
|
alert_close("등록된 상품이 아닙니다.");
|
||||||
|
|
||||||
$g4['title'] = $it['it_name'].' - 추천하기';
|
$g4['title'] = $it['it_name'].' - 추천하기';
|
||||||
define('_SHOP_', true);
|
|
||||||
include_once(G4_PATH.'/head.sub.php');
|
include_once(G4_PATH.'/head.sub.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
define('_SHOP_', true);
|
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
$it_id = $_GET['it_id'];
|
$it_id = $_GET['it_id'];
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||||
define('_SHOP_', true);
|
|
||||||
|
|
||||||
include_once(G4_PATH.'/head.sub.php');
|
include_once(G4_PATH.'/head.sub.php');
|
||||||
include_once(G4_LIB_PATH.'/outlogin.lib.php');
|
include_once(G4_LIB_PATH.'/outlogin.lib.php');
|
||||||
|
|||||||
Reference in New Issue
Block a user