Closed RenLoong closed 10 months ago
当上传文件中的mime中包含“image”但不是图片是报错,如svg
Trying to access array offset on value of type bool [] []
修改如下解决: vendor/shopwwi/webman-filesystem/src/Storage.php:153
$size = \getimagesize($file); if ($size) { $info['file_height'] = $size[1]; $info['file_width'] = $size[0]; }
已修正
当上传文件中的mime中包含“image”但不是图片是报错,如svg
修改如下解决: vendor/shopwwi/webman-filesystem/src/Storage.php:153