Update functions_torrent.php

This commit is contained in:
Roman Kelesidis 2023-11-20 21:24:37 +07:00
parent 6c858cd0e6
commit b712dcd10f

View File

@ -484,7 +484,7 @@ function send_torrent_with_passkey ($filename)
} }
// Get tracker announcer // Get tracker announcer
$announce = $bb_cfg['ocelot']['enabled'] ? strval($bb_cfg['ocelot']['url'] . $passkey_val . "/announce") : strval($ann_url . "?$passkey_key=$passkey_val"); $announce = $bb_cfg['ocelot']['enabled'] ? strval($bb_cfg['ocelot']['url'] .$passkey_val. "/announce") : strval($ann_url . "?$passkey_key=$passkey_val");
// Replace original announce url with tracker default // Replace original announce url with tracker default
if ($bb_cfg['bt_replace_ann_url'] || !isset($tor['announce'])) if ($bb_cfg['bt_replace_ann_url'] || !isset($tor['announce']))