mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
- added a few missing log variables
- include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now) - added check to cron.php - added database_gc config variable - recalculate binary trees every once a week ;) git-svn-id: file:///svn/phpbb/trunk@5929 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -270,12 +270,12 @@ class session
|
||||
|
||||
$this->data = array();
|
||||
|
||||
// Garbage collection ... remove old sessions updating user information
|
||||
/* Garbage collection ... remove old sessions updating user information
|
||||
// if necessary. It means (potentially) 11 queries but only infrequently
|
||||
if ($this->time_now > $config['session_last_gc'] + $config['session_gc'])
|
||||
{
|
||||
$this->session_gc();
|
||||
}
|
||||
}*/
|
||||
|
||||
// Do we allow autologin on this board? No? Then override anything
|
||||
// that may be requested here
|
||||
@@ -674,7 +674,7 @@ class session
|
||||
{
|
||||
// Less than 5 sessions, update gc timer ... else we want gc
|
||||
// called again to delete other sessions
|
||||
set_config('session_last_gc', $this->time_now);
|
||||
set_config('session_last_gc', $this->time_now, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user