mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Issue #4270 - WebP support.
This commit is contained in:
@@ -4638,7 +4638,7 @@ class e_parser
|
||||
$path = null;
|
||||
$file = trim($file);
|
||||
$ext = pathinfo($file, PATHINFO_EXTENSION);
|
||||
$accepted = array('jpg','gif','png','jpeg', 'svg');
|
||||
$accepted = array('jpg','gif','png','jpeg', 'svg', 'webp');
|
||||
|
||||
|
||||
if(!in_array($ext,$accepted))
|
||||
|
Reference in New Issue
Block a user