skin_path 변경

This commit is contained in:
gnuboard
2013-01-18 10:00:12 +09:00
parent 2919314035
commit 7f41e68ddf
28 changed files with 41 additions and 57 deletions

View File

@ -1627,4 +1627,14 @@ function get_selected($field, $value, $first=false)
$selected = ($field=="") ? ' selected="selected"' : '';
return $selected;
}
function skin_path()
{
global $g4;
$skin_dir = 'skin';
$skin_path = $g4['path'].'/'.$skin_dir;
if (G4_IS_MOBILE) $skin_path = $g4['mobile_path'].'/'.$skin_dir;
return $skin_path;
}
?>