public function configSlave($host, $name, $user, $password, $port = null, $driver = 'mysql')
{
if (!$this->validateDriver($driver)) {
throw new Exception('DATABASE WRAPPER::error, the database you wish to connect to is not supported by your install of PHP.');
}
if (isset($this->pdo_slave)) {
error_log('DATABASE WRAPPER::warning, attempting to config slave after connection exists');
}
if (!isset($this->config_slaves)) {
$this->config_slaves = array();
}
$this->config_slaves[] = array('driver' => $driver, 'host' => $host, 'name' => $name, 'user' => $user, 'password' => $password, 'port' => $port);
}