mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions.php
This commit is contained in:
parent
d69a112e5d
commit
201689de27
@ -2579,6 +2579,11 @@ function create_magnet ($infohash, $auth_key, $name)
|
||||
{
|
||||
global $bb_cfg, $images, $lang, $userdata;
|
||||
|
||||
if (!$bb_cfg['magnet_links_enabled'])
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (IS_GUEST && $bb_cfg['bt_tor_browse_only_reg'])
|
||||
{
|
||||
$passkey = '';
|
||||
|
Loading…
Reference in New Issue
Block a user