mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
- consolidating the aliases for the connection parameters
This commit is contained in:
@@ -64,10 +64,6 @@ class DibiMsSqlDriver extends DibiObject implements IDibiDriver
|
||||
*/
|
||||
public function connect(array &$config)
|
||||
{
|
||||
DibiConnection::alias($config, 'username', 'user');
|
||||
DibiConnection::alias($config, 'password', 'pass');
|
||||
DibiConnection::alias($config, 'host', 'hostname');
|
||||
|
||||
if (isset($config['resource'])) {
|
||||
$this->connection = $config['resource'];
|
||||
} elseif (empty($config['persistent'])) {
|
||||
|
Reference in New Issue
Block a user