버전 5.4.5.2 수정
This commit is contained in:
commit
dcd7a725d5
22 files changed
+145
-103
No files matched your search
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user