Changes for ladder database move

This commit is contained in:
Cathy J. Fitzpatrick 2013-02-28 00:04:08 -07:00
parent afd7a89c64
commit 8be53b902e

View File

@ -6,6 +6,13 @@ error_reporting(E_ALL);
include_once dirname(__FILE__).'/../../pokemonshowdown.com/lib/ntbb-database.lib.php';
// connect to the ladder database instead of the main database
$db = new NTBBDatabase($config['ladder_server'],
$config['ladder_username'],
$config['ladder_password'],
$config['ladder_database'],
$config['ladder_prefix']);
class Glicko2Player {
public $rating;
public $rd;