This commit is contained in:
Roman Kelesidis 2023-08-20 01:32:37 +07:00
parent 4b70b348da
commit 5a39de6e62
3 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -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']);

View File

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