mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
4b70b348da
commit
5a39de6e62
@ -4,6 +4,8 @@ define('IN_TRACKER', true);
|
||||
define('BB_ROOT', './../');
|
||||
require(BB_ROOT .'common.php');
|
||||
|
||||
global $bb_cfg, $tr_cfg;
|
||||
|
||||
if (empty($_SERVER['HTTP_USER_AGENT']))
|
||||
{
|
||||
header('Location: http://127.0.0.1', true, 301);
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
if (!defined('IN_TRACKER')) die(basename(__FILE__));
|
||||
|
||||
global $tr_cfg;
|
||||
|
||||
// Exit if tracker is disabled
|
||||
if ($tr_cfg['off']) msg_die($tr_cfg['off_reason']);
|
||||
|
||||
|
@ -4,6 +4,8 @@ define('IN_TRACKER', true);
|
||||
define('BB_ROOT', './../');
|
||||
require(BB_ROOT .'common.php');
|
||||
|
||||
global $tr_cfg;
|
||||
|
||||
if (!$tr_cfg['scrape']) msg_die('Please disable SCRAPE!');
|
||||
|
||||
// Recover info_hash
|
||||
|
Loading…
Reference in New Issue
Block a user