diff --git a/head.php b/head.php index 0a889c69e..c27416c4e 100644 --- a/head.php +++ b/head.php @@ -11,7 +11,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php'); // 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_head'] && is_file(G5_PATH.'/'.$config['cf_include_head'])) { - include_once($config['cf_include_head']); + include_once(G5_PATH.'/'.$config['cf_include_head']); return; // 이 코드의 아래는 실행을 하지 않습니다. } diff --git a/index.php b/index.php index 8506516af..7dd4be537 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ include_once('./_common.php'); // 초기화면 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_index'] && is_file(G5_PATH.'/'.$config['cf_include_index'])) { - include_once($config['cf_include_index']); + include_once(G5_PATH.'/'.$config['cf_include_index']); return; // 이 코드의 아래는 실행을 하지 않습니다. } diff --git a/tail.php b/tail.php index e020a1b11..f4b57a4c9 100644 --- a/tail.php +++ b/tail.php @@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_tail'] && is_file(G5_PATH.'/'.$config['cf_include_tail'])) { - include_once($config['cf_include_tail']); + include_once(G5_PATH.'/'.$config['cf_include_tail']); return; // 이 코드의 아래는 실행을 하지 않습니다. }