상품삭제시 상품이미지 디렉토리 삭제 코드 수정
This commit is contained in:
@ -28,7 +28,9 @@ function itemdelete($it_id)
|
||||
@unlink($file);
|
||||
$dir = dirname($file);
|
||||
delete_item_thumbnail($dir, basename($file));
|
||||
$dir_list[] = $dir;
|
||||
|
||||
if(!in_array($dir, $dir_list))
|
||||
$dir_list[] = $dir;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user