instances added god may help
This commit is contained in:
@@ -131,7 +131,7 @@ trait ImageUploadTrait
|
||||
|
||||
protected static function imageResizeAndFit(string $sourcePath, string $targetPath, int $width, int $height, string $ext): bool
|
||||
{
|
||||
$mime = self::detectMime($sourcePath);
|
||||
$mime = self::imageDetectMime($sourcePath);
|
||||
$src = self::imageCreateResource($sourcePath, $mime);
|
||||
if (!$src) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user