사용자 추가한 include 파일이 먼저 실행되도록 수정

This commit is contained in:
chicpro
2014-01-06 17:28:58 +09:00
parent 4ed1743a71
commit 491f012828
3 changed files with 15 additions and 15 deletions

View File

@ -1,11 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/tail.php');
return;
}
// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_tail']) {
if (!@include_once($config['cf_include_tail'])) {
@ -13,6 +8,11 @@ if ($config['cf_include_tail']) {
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
if (G5_IS_MOBILE) {
include_once(G5_MOBILE_PATH.'/tail.php');
return;
}
?>
</div>
</div>