Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
whitedot
2013-02-13 14:53:43 +09:00

View File

@ -1661,15 +1661,6 @@ function get_selected($field, $value)
}
function skin_path()
{
global $g4;
$skin_path = $g4['path'].'/'.$g4['skin_dir'];
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']);