From 491f012828ed758e81d9925db9223b3588fa5460 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 6 Jan 2014 17:28:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=ED=95=9C=20include=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20?= =?UTF-8?q?=EB=A8=BC=EC=A0=80=20=EC=8B=A4=ED=96=89=EB=90=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.php | 10 +++++----- index.php | 10 +++++----- tail.php | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/head.php b/head.php index c90509b42..c0cead9d5 100644 --- a/head.php +++ b/head.php @@ -9,11 +9,6 @@ include_once(G5_LIB_PATH.'/visit.lib.php'); include_once(G5_LIB_PATH.'/connect.lib.php'); include_once(G5_LIB_PATH.'/popular.lib.php'); -if (G5_IS_MOBILE) { - include_once(G5_MOBILE_PATH.'/head.php'); - return; -} - // 상단 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_head']) { if (!@include_once($config['cf_include_head'])) { @@ -21,6 +16,11 @@ if ($config['cf_include_head']) { } return; // 이 코드의 아래는 실행을 하지 않습니다. } + +if (G5_IS_MOBILE) { + include_once(G5_MOBILE_PATH.'/head.php'); + return; +} ?> diff --git a/index.php b/index.php index e5cc9c01b..32e563fe8 100644 --- a/index.php +++ b/index.php @@ -2,11 +2,6 @@ define('_INDEX_', true); include_once('./_common.php'); -if (G5_IS_MOBILE) { - include_once(G5_MOBILE_PATH.'/index.php'); - return; -} - // 초기화면 파일 경로 지정 : 이 코드는 가능한 삭제하지 마십시오. if ($config['cf_include_index']) { if (!@include_once($config['cf_include_index'])) { @@ -15,6 +10,11 @@ if ($config['cf_include_index']) { return; // 이 코드의 아래는 실행을 하지 않습니다. } +if (G5_IS_MOBILE) { + include_once(G5_MOBILE_PATH.'/index.php'); + return; +} + include_once('./_head.php'); ?> diff --git a/tail.php b/tail.php index aa6684787..0c06084f9 100644 --- a/tail.php +++ b/tail.php @@ -1,11 +1,6 @@