mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
revert: Added TorrentPier instance hash
generation
This commit is contained in:
parent
1b288a96e4
commit
eabf851ee6
6 changed files with 3 additions and 14 deletions
|
@ -59,10 +59,5 @@ if (IN_DEMO_MODE) {
|
|||
DB()->query("UPDATE " . BB_FORUMS . " SET allow_reg_tracker = 1 WHERE allow_reg_tracker = 0 AND forum_id = 1 LIMIT 1");
|
||||
}
|
||||
|
||||
// Create unique TorrentPier instance hash
|
||||
if (empty($bb_cfg['tp_instance_hash']) || ($bb_cfg['tp_instance_hash'] !== hash('xxh128', FULL_URL))) {
|
||||
bb_update_config(['tp_instance_hash' => hash('xxh128', FULL_URL)]);
|
||||
}
|
||||
|
||||
// Check for updates
|
||||
$datastore->update('check_updates');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue