From 1a713f72ddeb791de410a3970684b817d6f42890 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 5 Mar 2013 15:03:07 +0900 Subject: [PATCH] =?UTF-8?q?pc,=20mobile=20=EC=9D=84=20=EA=B0=80=EB=A6=AC?= =?UTF-8?q?=EA=B8=B0=20=EC=9C=84=ED=95=9C=20device=20=EB=B3=80=EC=88=98=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.php b/common.php index e3cce501b..762677a56 100644 --- a/common.php +++ b/common.php @@ -160,9 +160,9 @@ if (G4_HTTPS_DOMAIN) { // G4_MOBILE_AGENT : config.php 에서 선언 //------------------------------------------------------------------------------ $is_mobile = false; -if (isset($_REQUEST['pc'])) +if ($_REQUEST['device']=='pc') $is_mobile = false; -else if (isset($_REQUEST['mobile'])) +else if ($_REQUEST['device']=='mobile') $is_mobile = true; else if (isset($_SESSION['ss_is_mobile'])) $is_mobile = $_SESSION['ss_is_mobile'];