mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 22:26:43 +02:00
- added config alias 'hostname' for 'host'
This commit is contained in:
@@ -74,7 +74,7 @@ class DibiMsSqlDriver extends /*Nette::*/Object implements IDibiDriver
|
||||
{
|
||||
DibiConnection::alias($config, 'username', 'user');
|
||||
DibiConnection::alias($config, 'password', 'pass');
|
||||
DibiConnection::alias($config, 'host');
|
||||
DibiConnection::alias($config, 'host', 'hostname');
|
||||
|
||||
if (empty($config['persistent'])) {
|
||||
$this->connection = @mssql_connect($config['host'], $config['username'], $config['password'], TRUE); // intentionally @
|
||||
|
Reference in New Issue
Block a user