모바일: 작업 중2
This commit is contained in:
11
head.php
11
head.php
@ -9,15 +9,10 @@ include_once(G4_LIB_PATH.'/visit.lib.php');
|
||||
include_once(G4_LIB_PATH.'/connect.lib.php');
|
||||
include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
|
||||
// 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
|
||||
if ($config['cf_include_head']) {
|
||||
if (!@include_once($config['cf_include_head'])) {
|
||||
die('기본환경 설정에서 상단 파일 경로가 잘못 설정되어 있습니다.');
|
||||
}
|
||||
return; // 이 코드의 아래는 실행을 하지 않습니다.
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MOBILE_PATH.'/head.php');
|
||||
return;
|
||||
}
|
||||
|
||||
//print_r2(get_defined_constants());
|
||||
?>
|
||||
|
||||
<header id="hd">
|
||||
|
||||
@ -1,13 +1,5 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
|
||||
if ($config['cf_include_tail']) {
|
||||
if (!@include_once($config['cf_include_tail'])) {
|
||||
die('기본환경 설정에서 하단 파일 경로가 잘못 설정되어 있습니다.');
|
||||
}
|
||||
return; // 이 코드의 아래는 실행을 하지 않습니다.
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
9
tail.php
9
tail.php
@ -1,12 +1,9 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
|
||||
if ($config['cf_include_tail']) {
|
||||
if (!@include_once($config['cf_include_tail'])) {
|
||||
die('기본환경 설정에서 하단 파일 경로가 잘못 설정되어 있습니다.');
|
||||
}
|
||||
return; // 이 코드의 아래는 실행을 하지 않습니다.
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MOBILE_PATH.'/tail.php');
|
||||
return;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user