From 5baa2b884ae9911e9b4deea57727387a7487ffb0 Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 12 Feb 2014 14:55:19 +0900 Subject: [PATCH] =?UTF-8?q?bbs/faq.php=EC=97=90=EC=84=9C=20faq=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=EB=90=9C=20=EB=B3=80=EC=88=98=EA=B0=80=20=EC=9E=88?= =?UTF-8?q?=EB=8A=94=EC=A7=80=20=EC=B2=B4=ED=81=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/faq.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bbs/faq.php b/bbs/faq.php index 12f7a6315..9e9ae029a 100644 --- a/bbs/faq.php +++ b/bbs/faq.php @@ -3,6 +3,11 @@ include_once('./_common.php'); if (!$fm_id) $fm_id = 1; +//dbconfig파일에 $g5['faq_table'] , $g5['faq_master_table'] 배열변수가 있는지 체크 +if( !isset($g5['faq_table']) || !isset($g5['faq_master_table']) ){ + die('관리자 모드에서 게시판관리->FAQ관리를 먼저 확인해 주세요.'); +} + // FAQ MASTER $sql = " select * from {$g5['faq_master_table']} where fm_id = '$fm_id' "; $fm = sql_fetch($sql);