mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
Fix files with .jfif extension not being recognized as JPEG image
This commit is contained in:
parent
7058f9fa85
commit
df56b7f8b1
3 changed files with 3 additions and 2 deletions
|
|
@ -820,7 +820,7 @@ class fileController extends file
|
|||
if(!$manual_insert)
|
||||
{
|
||||
// image
|
||||
if(in_array($file_info['extension'], ['gif', 'jpg', 'jpeg', 'png', 'webp', 'bmp']))
|
||||
if(in_array($file_info['extension'], ['gif', 'jpg', 'jpeg', 'jfif', 'png', 'webp', 'bmp']))
|
||||
{
|
||||
$file_info = $this->adjustUploadedImage($file_info, $config);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue