From 6c6785442d91265dc2417eb5b4d66d718d000e36 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 15 Jan 2014 09:42:34 +0900 Subject: [PATCH] =?UTF-8?q?check=5Fdemo=20=ED=95=A8=EC=88=98=20G5=20?= =?UTF-8?q?=ED=99=98=EA=B2=BD=EC=97=90=20=EB=A7=9E=EA=B2=8C=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 --- lib/common.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index a0f877cd7..459d829a0 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1662,8 +1662,8 @@ function time_select($time, $name="") // DEMO 라는 파일이 있으면 데모 화면으로 인식함 function check_demo() { - global $g5; - if (file_exists($g5['path'].'/DEMO')) + global $is_admin; + if (file_exists(G5_PATH.'/DEMO')) alert('데모 화면에서는 하실(보실) 수 없는 작업입니다.'); }