aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-18 18:18:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-18 18:18:32 +0000
commit7e25c8d9cc255fbe460c2a970ad7da241c0880bb (patch)
tree89bb537574b06359d58f515a07fa6e37b6c63cf9 /phpBB/includes/session.php
parentf15d6862ae4a62421da83e10dfdeb7153756af1a (diff)
downloadforums-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.php6
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;
}