모바일 접속일 경우 설문조사 스킨 구분함
This commit is contained in:
1 parent
afdd601d3a
commit
30501d12b0
2 files changed
+6
-2
No files matched your search
+5
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user