From b79105002792a8b626499465e724230a485ab68e Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 27 Feb 2013 18:05:20 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=97=90=EC=84=9C?= =?UTF-8?q?=EB=8A=94=20=EA=B2=8C=EC=8B=9C=ED=8C=90=EC=97=90=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20head,=20tail=20=EC=9D=84=20include=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/board_head.php | 5 ++++- bbs/board_tail.php | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bbs/board_head.php b/bbs/board_head.php index 9ee1d6c93..7a33de9b0 100644 --- a/bbs/board_head.php +++ b/bbs/board_head.php @@ -12,7 +12,10 @@ if ($board['bo_image_head']) { } // 게시판 관리의 상단 내용 -if ($board['bo_content_head']) { +if (G4_IS_MOBILE) { + // 모바일의 경우 설정을 따르지 않는다. + include_once('./_head.php'); +} else if ($board['bo_content_head']) { echo stripslashes($board['bo_content_head']); } ?> \ No newline at end of file diff --git a/bbs/board_tail.php b/bbs/board_tail.php index 7cad781db..58b326b6a 100644 --- a/bbs/board_tail.php +++ b/bbs/board_tail.php @@ -12,7 +12,10 @@ if ($board['bo_image_tail']) { } // 게시판 관리의 하단 파일 경로 -if ($board['bo_include_tail'] && !G4_IS_MOBILE) { +if (G4_IS_MOBILE) { + // 모바일의 경우 설정을 따르지 않는다. + include_once('./_tail.php'); +} else if ($board['bo_include_tail']) { @include ($board['bo_include_tail']); } ?> \ No newline at end of file