Added bt_announce_url autofill (#1331)

* `bt_announce_url` autofill

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-01-22 14:48:39 +07:00 committed by GitHub
commit f28b3e2d80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View file

@ -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
*/