Merge branch 'release' of https://github.com/PrestaShop/PrestaShop into release
This commit is contained in:
@@ -422,7 +422,7 @@ class ImageManagerCore
|
|||||||
$types = array(
|
$types = array(
|
||||||
'image/gif' => array('gif'),
|
'image/gif' => array('gif'),
|
||||||
'image/jpeg' => array('jpg', 'jpeg'),
|
'image/jpeg' => array('jpg', 'jpeg'),
|
||||||
'image/png' => array('jpg', 'png')
|
'image/png' => array('png')
|
||||||
);
|
);
|
||||||
$extension = substr($file_name, strrpos($file_name, '.') + 1);
|
$extension = substr($file_name, strrpos($file_name, '.') + 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user