Browse Source

use database manager in db session driver.

Taylor Otwell 13 years ago
parent
commit
fe0502ded9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      system/session/db.php

+ 2 - 1
system/session/db.php

@@ -1,6 +1,7 @@
 <?php namespace System\Session;
 
 use System\Config;
+use System\DB\Manager;
 
 class DB implements Driver {
 
@@ -62,7 +63,7 @@ class DB implements Driver {
 	 */
 	private function table()
 	{
-		return \System\DB::table(Config::get('session.table'));		
+		return Manager::connection()->table(Config::get('session.table'));		
 	}
 	
 }