View Single Post
  #19  
Old 18th June 2013, 19:17
boss28604 boss28604 is offline
Senior Member
 
Join Date: Jun 2013
Thailand
Posts: 17
Default
Quote:
Originally Posted by firefly007 View Post
You need to add your mysql details in your announce and URL



////////////////// GLOBAL VARIABLES ////////////////////////////
$TBDEV['baseurl'] = 'http://yoursite.com';
$TBDEV['announce_interval'] = 60 * 30;
$TBDEV['user_ratios'] = 0;
$TBDEV['connectable_check'] = 0;
define ('UC_VIP', 2);
// DB setup
$TBDEV['mysql_host'] = "localhost";
$TBDEV['mysql_user'] = "root";
$TBDEV['mysql_pass'] = "***";
$TBDEV['mysql_db'] = "tbdev09";
////////////////// GLOBAL VARIABLES ////////////////////////////

include('include/config.php');
PHP Code:
/*
+------------------------------------------------
|   TBDev.net BitTorrent Tracker PHP
|   =============================================
|   by CoLdFuSiOn
|   (c) 2003 - 2009 TBDev.Net
|   http://www.tbdev.net
|   =============================================
|   svn: http://sourceforge.net/projects/tbdevnet/
|   Licence Info: GPL
+------------------------------------------------
|   $Date$
|   $Revision$
|   $Author$
|   $URL$
+------------------------------------------------
*/
error_reporting(0);
////////////////// GLOBAL VARIABLES ////////////////////////////    

// DB setup
include 'incloud/config.php';
////////////////// GLOBAL VARIABLES ////////////////////////////

// DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING!!


// Deny access made with a browser...
/*
$agent = $_SERVER["HTTP_USER_AGENT"];

// Deny access made with a browser...
if (
    ereg("^Mozilla\\/", $agent) || 
    ereg("^Opera\\/", $agent) || 
    ereg("^Links ", $agent) || 
    ereg("^Lynx\\/", $agent) || 
    isset($_SERVER['HTTP_COOKIE']) || 
    isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) || 
    isset($_SERVER['HTTP_ACCEPT_CHARSET'])
    )
    err("torrent not registered with this tracker CODE 1");
*/  
/////////////////////// FUNCTION DEFS /////////////////////////////////// 
Reply With Quote