[ticket/16710] Allow WEBP images in attachments

PHPBB3-16710
This commit is contained in:
3D-I 2021-02-27 04:28:48 +01:00
parent bd1c3c87b7
commit 784f0d5f3b

View file

@ -378,6 +378,7 @@ class upload
IMAGETYPE_IFF => array('iff'),
IMAGETYPE_WBMP => array('wbmp'),
IMAGETYPE_XBM => array('xbm'),
IMAGETYPE_WEBP => ['webp'],
);
if (defined('IMAGETYPE_SWC'))