mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
Merge branch 'php8' into section
This commit is contained in:
+1
-1
@@ -331,7 +331,7 @@ if(isset($self) && empty($_GET['event']) && $self['prevts'] > (TIMENOW - $announ
|
|||||||
|
|
||||||
$isSeedBoxRuleEnabled = get_setting('seed_box.enabled') == 'yes';
|
$isSeedBoxRuleEnabled = get_setting('seed_box.enabled') == 'yes';
|
||||||
$isIPSeedBox = false;
|
$isIPSeedBox = false;
|
||||||
if ($isSeedBoxRuleEnabled && !($az['class'] >= \App\Models\User::CLASS_VIP || $isDonor)) {
|
if ($isSeedBoxRuleEnabled) {
|
||||||
if (!empty($ipv4)) {
|
if (!empty($ipv4)) {
|
||||||
$isIPSeedBox = isIPSeedBox($ipv4, $userid);
|
$isIPSeedBox = isIPSeedBox($ipv4, $userid);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user