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 a1af3d3 commit 19bbfbdCopy full SHA for 19bbfbd
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, '5.6.0', '<=')) {
+ if (version_compare(PHP_VERSION, '7.0', '<=')) {
116
if (strstr(file_get_contents($filename), 'WEBPVP8') !== false) {
117
$checkWebp = true;
118
$this->source_type = IMAGETYPE_WEBP;
0 commit comments