버전 5.4.5.2 수정

This commit is contained in:
thisgun committed 2021-03-16 14:58:36 +09:00
commit dcd7a725d5
22 files changed
+145 -103

No files matched your search

+1 -1
View File
@@ -227,7 +227,7 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h
return;
$size = @getimagesize($source_file);
if($size[2] < 1 || $size[2] > 3) // gif, jpg, png 에 대해서만 적용
if(!isset($size[2]) || $size[2] < 1 || $size[2] > 3) // gif, jpg, png 에 대해서만 적용
return;
if (!is_dir($target_path)) {