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 2069792 commit 203a046Copy full SHA for 203a046
lib/ImageResize.php
@@ -105,7 +105,7 @@ public function __construct($filename)
105
if (!defined('IMAGETYPE_WEBP')) {
106
define('IMAGETYPE_WEBP', 18);
107
}
108
- if ($filename === null || empty($filename) || (substr($filename, 0, 7) !== 'data://' && !is_file($filename))) {
+ if ($filename === null || empty($filename) || (substr($filename, 0, 5) !== 'data:' && !is_file($filename))) {
109
throw new ImageResizeException('File does not exist');
110
111
0 commit comments