mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Added bt_announce_url
autofill (#1331)
* `bt_announce_url` autofill * Update CHANGELOG.md
This commit is contained in:
parent
1ba5576ad5
commit
f28b3e2d80
3 changed files with 7 additions and 1 deletions
|
@ -394,6 +394,11 @@ $user = new TorrentPier\Legacy\Common\User();
|
|||
|
||||
$userdata =& $user->data;
|
||||
|
||||
// Set announcer default URL
|
||||
if (empty($bb_cfg['bt_announce_url'])) {
|
||||
bb_update_config(['bt_announce_url' => FULL_URL . 'bt/announce.php']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cron
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue