Browse Source

Fix bug in session garbage collection.

Taylor Otwell 14 years ago
parent
commit
f48d76abca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/session.php

+ 1 - 1
system/session.php

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