From 30501d12b0a4f9f9bc82b31322af62eefd25eb0d Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 5 Mar 2013 09:55:34 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=A0=91?= =?UTF-8?q?=EC=86=8D=EC=9D=BC=20=EA=B2=BD=EC=9A=B0=20=EC=84=A4=EB=AC=B8?= =?UTF-8?q?=EC=A1=B0=EC=82=AC=20=EC=8A=A4=ED=82=A8=20=EA=B5=AC=EB=B6=84?= =?UTF-8?q?=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.php | 2 +- lib/poll.lib.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/head.php b/head.php index 4aa066d1d..e0e4e5eed 100644 --- a/head.php +++ b/head.php @@ -156,7 +156,7 @@ if ($config['cf_include_head']) {
- +

diff --git a/lib/poll.lib.php b/lib/poll.lib.php index 869cfc298..312fb3d3e 100644 --- a/lib/poll.lib.php +++ b/lib/poll.lib.php @@ -14,7 +14,11 @@ function poll($skin_dir='basic', $po_id=false) } ob_start(); - $poll_skin_path = G4_SKIN_PATH.'/poll/'.$skin_dir; + if (G4_IS_MOBILE) { + $poll_skin_path = G4_MOBILE_PATH.'/'.G4_SKIN_DIR.'/poll/'.$skin_dir; + } else { + $poll_skin_path = G4_SKIN_PATH.'/poll/'.$skin_dir; + } include_once ($poll_skin_path.'/poll.skin.php'); $content = ob_get_contents(); ob_end_clean();