1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

[ticket/16899] Add SVG and WEBP image type to ranks, smilies and topic icons

PHPBB3-16899
This commit is contained in:
3D-I
2021-10-21 21:47:14 +02:00
parent 99734fc648
commit afbf7aadd2
4 changed files with 26 additions and 18 deletions

View File

@@ -479,7 +479,7 @@ function copy_forum_permissions($src_forum_id, $dest_forum_ids, $clear_dest_perm
/**
* Get physical file listing
*/
function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png')
function filelist($rootdir, $dir = '', $type = 'gif|jpg|jpeg|png|svg|webp')
{
$matches = array($dir => array());