Skip to content

Commit a1af3d3

Browse files
committed
bug fix
1 parent ef6366f commit a1af3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ImageResize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function __construct($filename)
112112
$finfo = finfo_open(FILEINFO_MIME_TYPE);
113113
$checkWebp = false;
114114
if (strstr(finfo_file($finfo, $filename), 'image') === false) {
115-
if (version_compare(PHP_VERSION, '5.5.0', '<=')) {
115+
if (version_compare(PHP_VERSION, '5.6.0', '<=')) {
116116
if (strstr(file_get_contents($filename), 'WEBPVP8') !== false) {
117117
$checkWebp = true;
118118
$this->source_type = IMAGETYPE_WEBP;

0 commit comments

Comments
 (0)