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();