Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user