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:
@@ -131,6 +131,7 @@ abstract class AbstractEncoder
|
||||
|
||||
case 'jpg':
|
||||
case 'jpeg':
|
||||
case 'jfif':
|
||||
case 'image/jp2':
|
||||
case 'image/jpg':
|
||||
case 'image/jpeg':
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user