use database manager in db session driver.
This commit is contained in:
parent
b8e27533bd
commit
fe0502ded9
|
@ -1,6 +1,7 @@
|
||||||
<?php namespace System\Session;
|
<?php namespace System\Session;
|
||||||
|
|
||||||
use System\Config;
|
use System\Config;
|
||||||
|
use System\DB\Manager;
|
||||||
|
|
||||||
class DB implements Driver {
|
class DB implements Driver {
|
||||||
|
|
||||||
|
@ -62,7 +63,7 @@ public function sweep($expiration)
|
||||||
*/
|
*/
|
||||||
private function table()
|
private function table()
|
||||||
{
|
{
|
||||||
return \System\DB::table(Config::get('session.table'));
|
return Manager::connection()->table(Config::get('session.table'));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue