mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/16710] Allow WEBP images in attachments
PHPBB3-16710
This commit is contained in:
parent
bd1c3c87b7
commit
784f0d5f3b
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ class upload
|
||||||
IMAGETYPE_IFF => array('iff'),
|
IMAGETYPE_IFF => array('iff'),
|
||||||
IMAGETYPE_WBMP => array('wbmp'),
|
IMAGETYPE_WBMP => array('wbmp'),
|
||||||
IMAGETYPE_XBM => array('xbm'),
|
IMAGETYPE_XBM => array('xbm'),
|
||||||
|
IMAGETYPE_WEBP => ['webp'],
|
||||||
);
|
);
|
||||||
|
|
||||||
if (defined('IMAGETYPE_SWC'))
|
if (defined('IMAGETYPE_SWC'))
|
||||||
|
|
Loading…
Add table
Reference in a new issue