Fix auth bug and other resolver bugs.

This commit is contained in:
Taylor Otwell
2012-05-02 16:52:55 -05:00
parent cadfc3c50f
commit aca2a2ae1c
4 changed files with 12 additions and 4 deletions

View File

@@ -75,7 +75,9 @@ class Database {
{
if (isset(static::$registrar[$driver]))
{
return static::$registrar[$driver]['connector']();
$resolver = static::$registrar[$driver]['connector'];
return $resolver();
}
switch ($driver)