mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-03-01 15:21:02 +03:00
Update functions_torrent.php
This commit is contained in:
parent
6c858cd0e6
commit
b712dcd10f
@ -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']))
|
||||||
|
Loading…
Reference in New Issue
Block a user