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
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public static function close()
// -----------------------------------------------------
if (mt_rand(1, 100) <= 2)
{
static::driver()->sweep(time() - ($config['lifetime'] * 60));
static::driver()->sweep(time() - (Config::get('session.lifetime') * 60));
}
}