초기화면 등의 파일 설정 기능 수정
This commit is contained in:
6
head.php
6
head.php
@ -10,10 +10,8 @@ include_once(G5_LIB_PATH.'/connect.lib.php');
|
||||
include_once(G5_LIB_PATH.'/popular.lib.php');
|
||||
|
||||
// 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
|
||||
if ($config['cf_include_head']) {
|
||||
if (!@include_once($config['cf_include_head'])) {
|
||||
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
|
||||
}
|
||||
if ($config['cf_include_head'] && is_file(G5_PATH.'/'.$config['cf_include_head']) {
|
||||
include_once($config['cf_include_head']);
|
||||
return; // 이 코드의 아래는 실행을 하지 않습니다.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user