PC, 모바일 버전 변환
This commit is contained in:
1 parent
ad593d0060
commit
e58f003bbe
6 files changed
+64
-42
No files matched your search
@@ -1661,4 +1661,10 @@ function skin_path()
|
||||
if (G4_IS_MOBILE) $skin_path = $g4['mobile_path'].'/'.$skin_dir;
|
||||
return $skin_path;
|
||||
}
|
||||
|
||||
|
||||
function is_mobile()
|
||||
{
|
||||
return preg_match('/'.G4_MOBILE_AGENT.'/i', $_SERVER['HTTP_USER_AGENT']);
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user