1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-21 01:36:26 +02:00

DibiConnection::alias() refactoring

This commit is contained in:
David Grudl
2010-05-19 15:29:38 +02:00
parent 27d58bff40
commit 550c477797
5 changed files with 11 additions and 12 deletions

View File

@@ -68,7 +68,7 @@ class DibiMySqlDriver extends DibiObject implements IDibiDriver
*/
public function connect(array &$config)
{
DibiConnection::alias($config, 'options');
$foo = & $config['options'];
if (isset($config['resource'])) {
$this->connection = $config['resource'];