Update admin_ranks.php

This commit is contained in:
Roman Kelesidis 2023-10-05 09:47:34 +07:00
parent 8ee03619a1
commit dc7b7de8b7

View File

@ -114,7 +114,7 @@ if ($mode != '')
//
if ($rank_image != '')
{
if (!preg_match('/(\.gif|\.png|\.jpg)$/is', $rank_image))
if (!preg_match('/(\.gif|\.png|\.jpg|\.jpeg|\.bmp|\.webp)$/is', $rank_image))
{
$rank_image = '';
}