mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_torrent.php
This commit is contained in:
parent
bf6d6d08a9
commit
01de004a4b
@ -479,7 +479,7 @@ function send_torrent_with_passkey ($filename)
|
||||
|
||||
if (!$tor = bdecode_file($filename))
|
||||
{
|
||||
bb_die('This is not a bencoded file');
|
||||
bb_die($lang['TORFILE_INVALID']);
|
||||
}
|
||||
|
||||
$announce = $bb_cfg['ocelot']['enabled'] ? strval($bb_cfg['ocelot']['url'] .$passkey_val. "/announce") : strval($ann_url . "?$passkey_key=$passkey_val");
|
||||
|
Loading…
Reference in New Issue
Block a user