Merge branch '1.9' into php8

This commit is contained in:
xiaomlove
2025-10-29 17:18:00 +07:00
8 changed files with 67 additions and 62 deletions
+1 -4
View File
@@ -135,10 +135,7 @@ $isDonor = is_donor($az);
$az['__is_donor'] = $isDonor;
$log = "user: $userid, isDonor: $isDonor, seeder: $seeder, ip: $ip, ipv4: $ipv4, ipv6: $ipv6";
//check tracker url
$trackerUrl = \App\Models\TrackerUrl::getById($az['tracker_url_id']);
if ($trackerUrl === false) {
warn("please select tracker url at user control panel");
}
$trackerUrl = get_tracker_schema_and_host($az['tracker_url_id'], true);
$currentUrl = getSchemeAndHttpHost();
if (!str_contains($trackerUrl, $currentUrl)) {
do_log("announce check tracker url, trackerUrl: $trackerUrl does not contains: $currentUrl");