skin 디렉토리가 없거나 경로가 잘못 된 경우 나오는 나오는 오류 수정 PHP Warning: array_merge(): Argument #2 is not an array (엑스엠엘님,210716)

This commit is contained in:
EC2 Default User
2021-07-20 01:07:56 +00:00
parent 0260fb9e33
commit e1e20f2dc2

View File

@ -83,7 +83,7 @@ function get_skin_dir($skin, $skin_path=G5_SKIN_PATH)
$dirname = $skin_path.'/'.$skin.'/';
if(!is_dir($dirname))
return;
return array();
$handle = opendir($dirname);
while ($file = readdir($handle)) {