From 6ee9b1fbf285a410b8d92b4689fc0d7ae6b4b637 Mon Sep 17 00:00:00 2001 From: projectSylas Date: Mon, 25 Oct 2021 01:22:50 +0000 Subject: [PATCH] =?UTF-8?q?PHP8=EC=97=90=EC=84=9C=20=EC=83=81=EB=8B=A8=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EA=B2=BD=EB=A1=9C,=20=ED=95=98=EB=8B=A8?= =?UTF-8?q?=20=ED=8C=8C=EC=9D=BC=20=EA=B2=BD=EB=A1=9C=EA=B0=80=20=EC=97=86?= =?UTF-8?q?=EC=9D=84=EB=95=8C=20=EB=82=98=EC=98=A4=EB=8A=94=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95=20(=EB=A3=A8=EB=AF=B8=EC=A7=91?= =?UTF-8?q?=EC=82=AC=EB=8B=98,211025)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/board_head.php | 2 +- bbs/board_tail.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bbs/board_head.php b/bbs/board_head.php index 96508e75d..2fb10c18c 100644 --- a/bbs/board_head.php +++ b/bbs/board_head.php @@ -7,7 +7,7 @@ if (G5_IS_MOBILE) { include_once(G5_BBS_PATH.'/_head.php'); echo html_purifier(stripslashes($board['bo_mobile_content_head'])); } else { - if(is_include_path_check($board['bo_include_head'])) { //파일경로 체크 + if($board['bo_include_head'] && is_include_path_check($board['bo_include_head'])) { //파일경로 체크 @include ($board['bo_include_head']); } else { //파일경로가 올바르지 않으면 기본파일을 가져옴 include_once(G5_BBS_PATH.'/_head.php'); diff --git a/bbs/board_tail.php b/bbs/board_tail.php index 9358c1b3f..87385e9fe 100644 --- a/bbs/board_tail.php +++ b/bbs/board_tail.php @@ -8,7 +8,7 @@ if (G5_IS_MOBILE) { include_once(G5_BBS_PATH.'/_tail.php'); } else { echo html_purifier(stripslashes($board['bo_content_tail'])); - if(is_include_path_check($board['bo_include_tail'])) { //파일경로 체크 + if($board['bo_include_tail'] && is_include_path_check($board['bo_include_tail'])) { //파일경로 체크 @include ($board['bo_include_tail']); } else { //파일경로가 올바르지 않으면 기본파일을 가져옴 include_once(G5_BBS_PATH.'/_tail.php');