mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
feat(freeipapi): Added ability to use own API token (#1901)
* feat(freeipapi): Added ability to use own API token * Updated * Update displaying_torrent.php * Update usercp_register.tpl * Update register.php
This commit is contained in:
parent
a4793f6ce1
commit
513e3065d3
7 changed files with 50 additions and 21 deletions
|
@ -144,6 +144,14 @@ $bb_cfg['torr_server'] = [
|
|||
'disable_for_guest' => true
|
||||
];
|
||||
|
||||
// FreeIPAPI settings
|
||||
$bb_cfg['ip2country_settings'] = [
|
||||
// Documentation: https://docs.freeipapi.com/
|
||||
'enabled' => true,
|
||||
'endpoint' => 'https://freeipapi.com/api/json/',
|
||||
'api_token' => '', // not required for basic usage
|
||||
];
|
||||
|
||||
// FAQ url help link
|
||||
$bb_cfg['how_to_download_url_help'] = 'viewtopic.php?t=1'; // How to download?
|
||||
$bb_cfg['what_is_torrent_url_help'] = 'viewtopic.php?t=2'; // What is a torrent?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue