From 56bb5f132562c01c1b1ac0e7d8fddec245751de3 Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 27 Feb 2013 13:46:40 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC:=20=EC=9E=91?= =?UTF-8?q?=EC=97=85=20=EC=A4=912?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.php | 11 +++-------- mobile/tail.php | 8 -------- tail.php | 9 +++------ 3 files changed, 6 insertions(+), 22 deletions(-) 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 @@