쇼핑몰 사용하지 않을 경우 오류 메세지 출력 코드 추가
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
<?
|
<?
|
||||||
define('G4_IS_ADMIN', true);
|
define('G4_IS_ADMIN', true);
|
||||||
include_once ('../../common.php');
|
include_once ('../../common.php');
|
||||||
|
|
||||||
|
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP)
|
||||||
|
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
|
||||||
|
|
||||||
include_once(G4_ADMIN_PATH.'/admin.lib.php');
|
include_once(G4_ADMIN_PATH.'/admin.lib.php');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user