Closed cmuench closed 2 years ago
Use stat to check if a file is not empty instead of loading the complete content. If the file system does not support start we have a fallback call with "readAll".
Many thanks. I actually found another "more elegant" (?) solution as well: https://github.com/yireo/Yireo_NextGenImages/blob/master/Image/File.php#L95 The latest release ships with this change.
Use stat to check if a file is not empty instead of loading the complete content. If the file system does not support start we have a fallback call with "readAll".