diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-18 18:18:32 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-18 18:18:32 +0000 |
commit | 7e25c8d9cc255fbe460c2a970ad7da241c0880bb (patch) | |
tree | 89bb537574b06359d58f515a07fa6e37b6c63cf9 /phpBB/includes/session.php | |
parent | f15d6862ae4a62421da83e10dfdeb7153756af1a (diff) | |
download | forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.gz forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.bz2 forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.xz forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.zip |
- 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
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 200c4e3227..306a7e36e1 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -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; } |