diff --git a/system/session.php b/system/session.php index 7a745149..4f85251f 100644 --- a/system/session.php +++ b/system/session.php @@ -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)); } }