// load extended, non MySQL class default: { // this is not implemented fully yet // $db = 'vB_Database_' . $vbulletin->config['Database']['dbtype']; // $db = new $db($vbulletin); die('Fatal error: Database class not found'); } } // get core functions if (!empty($db->explain)) { $db->timer_start('Including Functions.php'); require_once(DIR . '/includes/functions.php'); $db->timer_stop(false); } else { require_once(DIR . '/includes/functions.php'); } // make database connection $db->connect( $vbulletin->config['Database']['dbname'], $vbulletin->config['MasterServer']['servername'], $vbulletin->config['MasterServer']['port'], $vbulletin->config['MasterServer']['username'], $vbulletin->config['MasterServer']['password'],