최고관리자는 DEMO 체크하지 않도록 수정

This commit is contained in:
chicpro committed 2014-01-15 10:44:45 +09:00
1 parent 6c6785442d
commit d7009ba6f3
1 file changed
+1 -1
+1 -1
View File
@@ -1663,7 +1663,7 @@ function time_select($time, $name="")
function check_demo()
{
global $is_admin;
if (file_exists(G5_PATH.'/DEMO'))
if ($is_admin != 'super' && file_exists(G5_PATH.'/DEMO'))
alert('데모 화면에서는 하실(보실) 수 없는 작업입니다.');
}