From fa2a4dc9440314b4c60c9c97a15db6262b40b9fb Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 23 Apr 2013 09:58:24 +0900 Subject: [PATCH] =?UTF-8?q?poll=5Fskin=5Fpath=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/poll_result.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bbs/poll_result.php b/bbs/poll_result.php index 027223855..e30675561 100644 --- a/bbs/poll_result.php +++ b/bbs/poll_result.php @@ -85,6 +85,14 @@ for ($i=0; $row2=sql_fetch_array($result); $i++) { $list3[$i]['subject'] = cut_str($row2['po_subject'],60,"…"); } +if (G4_IS_MOBILE) { + $poll_skin_path = G4_MOBILE_PATH.'/'.G4_SKIN_DIR.'/poll/'.$skin_dir; + $poll_skin_url = G4_MOBILE_URL.'/'.G4_SKIN_DIR.'/poll/'.$skin_dir; +} else { + $poll_skin_path = G4_SKIN_PATH.'/poll/'.$skin_dir; + $poll_skin_url = G4_SKIN_URL.'/poll/'.$skin_dir; +} + include_once(G4_PATH.'/head.sub.php'); if (!file_exists($poll_skin_path.'/poll_result.skin.php')) die('skin error');