} 막지 않아 나오던 오류 해결
This commit is contained in:
@ -1790,7 +1790,7 @@ function delete_editor_thumbnail($contents)
|
|||||||
$filepath = dirname($srcfile);
|
$filepath = dirname($srcfile);
|
||||||
$files = glob($filepath.'/thumb-'.$filename.'*');
|
$files = glob($filepath.'/thumb-'.$filename.'*');
|
||||||
if (is_array($files)) {
|
if (is_array($files)) {
|
||||||
foreach($files as $filename) {
|
foreach($files as $filename)
|
||||||
unlink($filename);
|
unlink($filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user