1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Upgraded intervention/image (2.7.0 => 2.7.1)

Upgraded phpmailer/phpmailer (v6.5.3 => v6.6.0)
This commit is contained in:
Cameron
2022-03-06 14:25:23 -08:00
parent bdbc7e0dae
commit ce489e5b0f
14 changed files with 158 additions and 76 deletions

View File

@@ -131,6 +131,7 @@ abstract class AbstractEncoder
case 'jpg':
case 'jpeg':
case 'jfif':
case 'image/jp2':
case 'image/jpg':
case 'image/jpeg':

View File

@@ -62,7 +62,7 @@ class Response
} elseif (class_exists('\Symfony\Component\HttpFoundation\Response')) {
$response = SymfonyResponse::create($data);
$response = new SymfonyResponse($data);
$response->headers->set('Content-Type', $mime);
$response->headers->set('Content-Length', $length);