Browse Source

fixed connector definition in container.

Taylor Otwell 13 years ago
parent
commit
e985057b4c
1 changed files with 6 additions and 6 deletions
  1. 6 6
      laravel/config/container.php

+ 6 - 6
laravel/config/container.php

@@ -51,20 +51,20 @@ return array(
 	|
 	|
 	*/
 	*/
 
 
-	'laravel.database.connectors.sqlite' => function($c)
+	'laravel.database.connectors.sqlite' => array('resolver' => function($c)
 	{
 	{
 		return new Database\Connectors\SQLite;
 		return new Database\Connectors\SQLite;
-	},
+	}),
 
 
-	'laravel.database.connectors.mysql' => function($c)
+	'laravel.database.connectors.mysql' => array('resolver' => function($c)
 	{
 	{
 		return new Database\Connectors\MySQL;
 		return new Database\Connectors\MySQL;
-	},
+	}),
 
 
-	'laravel.database.connectors.pgsql' => function($c)
+	'laravel.database.connectors.pgsql' => array('resolver' => function($c)
 	{
 	{
 		return new Database\Connectors\Postgres;
 		return new Database\Connectors\Postgres;
-	},
+	}),
 
 
 	/*
 	/*
 	|--------------------------------------------------------------------------
 	|--------------------------------------------------------------------------