mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#1281)
This commit is contained in:
parent
2f8952b3bf
commit
0204cd0047
4 changed files with 272 additions and 265 deletions
|
@ -352,6 +352,9 @@ if (!defined('IN_TRACKER')) {
|
|||
define('PEERS_LIST_PREFIX', 'peers_list_');
|
||||
define('SCRAPE_LIST_PREFIX', 'scrape_list_');
|
||||
|
||||
// Init tracker
|
||||
require_once BB_PATH . '/bt/includes/init_tr.php';
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
header('Pragma: no-cache');
|
||||
|
||||
|
@ -361,7 +364,4 @@ if (!defined('IN_TRACKER')) {
|
|||
dummy_exit(random_int(60, 2400));
|
||||
}
|
||||
}
|
||||
|
||||
// Init tracker
|
||||
require_once BB_PATH . '/bt/includes/init_tr.php';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue