모바일: 작업 중2

This commit is contained in:
whitedot
2013-02-27 13:46:40 +09:00
parent 6edd2eec62
commit 56bb5f1325
3 changed files with 6 additions and 22 deletions

View File

@ -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">

View File

@ -1,13 +1,5 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 하단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오.
if ($config['cf_include_tail']) {
if (!@include_once($config['cf_include_tail'])) {
die('기본환경 설정에서 하단 파일 경로가 잘못 설정되어 있습니다.');
}
return; // 이 코드의 아래는 실행을 하지 않습니다.
}
?>
</div>
</div>

View File

@ -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>