Commit f48d76ab authored by Taylor Otwell's avatar Taylor Otwell

Fix bug in session garbage collection.

parent f00f3d5e
...@@ -206,7 +206,7 @@ class Session { ...@@ -206,7 +206,7 @@ class Session {
// ----------------------------------------------------- // -----------------------------------------------------
if (mt_rand(1, 100) <= 2) if (mt_rand(1, 100) <= 2)
{ {
static::driver()->sweep(time() - ($config['lifetime'] * 60)); static::driver()->sweep(time() - (Config::get('session.lifetime') * 60));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment