From 3a311906bfcd84d021869403b206fb73eed3062f Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 16 Aug 2017 09:24:15 +0900 Subject: [PATCH] =?UTF-8?q?1:1=20=EB=AC=B8=EC=9D=98=20=EB=B0=8F=20?= =?UTF-8?q?=EB=82=B4=EC=9A=A9=EA=B4=80=EB=A6=AC=20=EC=83=81=EB=8B=A8=20?= =?UTF-8?q?=ED=95=98=EB=8B=A8=20=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/content.php | 4 ++-- bbs/qahead.php | 2 +- bbs/qatail.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bbs/content.php b/bbs/content.php index 8aa2f36af..b46d6f338 100644 --- a/bbs/content.php +++ b/bbs/content.php @@ -19,7 +19,7 @@ if (!$co['co_id']) $g5['title'] = $co['co_subject']; -if (is_include_path_check($co['co_include_head'])) +if ($co['co_include_head'] && is_include_path_check($co['co_include_head'])) @include_once($co['co_include_head']); else include_once('./_head.php'); @@ -85,7 +85,7 @@ if(is_file($skin_file)) { echo '

'.str_replace(G5_PATH.'/', '', $skin_file).'이 존재하지 않습니다.

'; } -if (is_include_path_check($co['co_include_tail'])) +if ($co['co_include_tail'] && is_include_path_check($co['co_include_tail'])) @include_once($co['co_include_tail']); else include_once('./_tail.php'); diff --git a/bbs/qahead.php b/bbs/qahead.php index d4aaa4d6e..976f4d524 100644 --- a/bbs/qahead.php +++ b/bbs/qahead.php @@ -9,7 +9,7 @@ if (G5_IS_MOBILE) { include_once('./_head.php'); echo conv_content($qaconfig['qa_mobile_content_head'], 1); } else { - if(is_include_path_check($qaconfig['qa_include_head'])) + if($qaconfig['qa_include_head'] && is_include_path_check($qaconfig['qa_include_head'])) @include ($qaconfig['qa_include_head']); else include ('./_head.php'); diff --git a/bbs/qatail.php b/bbs/qatail.php index 8cc00e1a3..8b22bcf66 100644 --- a/bbs/qatail.php +++ b/bbs/qatail.php @@ -7,7 +7,7 @@ if (G5_IS_MOBILE) { include_once('./_tail.php'); } else { echo conv_content($qaconfig['qa_content_tail'], 1); - if(is_include_path_check($qaconfig['qa_include_tail'])) + if($qaconfig['qa_include_tail'] && is_include_path_check($qaconfig['qa_include_tail'])) @include ($qaconfig['qa_include_tail']); else include ('./_tail.php');