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

This commit is contained in:
whitedot
2013-01-21 11:20:50 +09:00
21 changed files with 126 additions and 166 deletions

View File

@ -1651,8 +1651,7 @@ function get_selected($field, $value, $first=false)
function skin_path()
{
global $g4;
$skin_dir = 'skin';
$skin_path = $g4['path'].'/'.$skin_dir;
$skin_path = $g4['path'].'/'.$g4['skin_dir'];
if (G4_IS_MOBILE) $skin_path = $g4['mobile_path'].'/'.$skin_dir;
return $skin_path;
}