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
d89e7d3efa
commit
c1099ed64b
@ -114,7 +114,7 @@ if ($mode != '')
|
|||||||
//
|
//
|
||||||
if ($rank_image != '')
|
if ($rank_image != '')
|
||||||
{
|
{
|
||||||
if (!preg_match('/(\.gif|\.png|\.jpg|\.jpeg|\.bmp|\.webp)$/is', $rank_image))
|
if (!preg_match('/(\.gif|\.png|\.jpg|\.jpeg|\.bmp|\.webp|\.ico)$/is', $rank_image))
|
||||||
{
|
{
|
||||||
$rank_image = '';
|
$rank_image = '';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user