mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update admin_ranks.php
This commit is contained in:
parent
8ee03619a1
commit
dc7b7de8b7
@ -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 = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user