mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
0892b55124
commit
8e67737e92
@ -89,7 +89,7 @@ if ($tor_auth_reg || $tor_auth_del)
|
||||
|
||||
if ($bb_cfg['torrent_name_style'])
|
||||
{
|
||||
$display_name = '['.$bb_cfg['server_name'].'].t' . $bt_topic_id . '.torrent';
|
||||
$display_name = '['.$bb_cfg['server_name'].'].t' . $bt_topic_id . '.' . TORRENT_EXT;
|
||||
}
|
||||
|
||||
if (!$tor_reged)
|
||||
|
@ -546,7 +546,7 @@ function send_torrent_with_passkey ($filename)
|
||||
|
||||
// Send torrent
|
||||
$output = bencode($tor);
|
||||
$dl_fname = ($bb_cfg['torrent_name_style'] ? '['.$bb_cfg['server_name'].'].t' . $topic_id . '.torrent' : clean_filename(basename($attachment['real_filename'])));
|
||||
$dl_fname = ($bb_cfg['torrent_name_style'] ? '['.$bb_cfg['server_name'].'].t' . $topic_id . '.' . TORRENT_EXT : clean_filename(basename($attachment['real_filename'])));
|
||||
|
||||
if (!empty($_COOKIE['explain']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user