diff --git a/head.php b/head.php index 3f51e47bf..d59bd36fd 100644 --- a/head.php +++ b/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()); ?>
diff --git a/mobile/tail.php b/mobile/tail.php index 8971a352c..f901b070e 100644 --- a/mobile/tail.php +++ b/mobile/tail.php @@ -1,13 +1,5 @@ diff --git a/tail.php b/tail.php index d44932bb1..191d8f373 100644 --- a/tail.php +++ b/tail.php @@ -1,12 +1,9 @@