Fix bug in session garbage collection.

This commit is contained in:
Taylor Otwell
2011-06-15 11:07:54 -07:00
parent f00f3d5ea1
commit f48d76abca

View File

@@ -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));
} }
} }