We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bbfbd commit cf24724Copy full SHA for cf24724
lib/ImageResize.php
@@ -112,7 +112,7 @@ public function __construct($filename)
112
$finfo = finfo_open(FILEINFO_MIME_TYPE);
113
$checkWebp = false;
114
if (strstr(finfo_file($finfo, $filename), 'image') === false) {
115
- if (version_compare(PHP_VERSION, '7.0', '<=')) {
+ if (version_compare(PHP_VERSION, '7.1', '<')) {
116
if (strstr(file_get_contents($filename), 'WEBPVP8') !== false) {
117
$checkWebp = true;
118
$this->source_type = IMAGETYPE_WEBP;
0 commit comments