aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 3479835749..b8cea3e80c 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -27,6 +27,15 @@ include('common.'.$phpEx);
$pagetype = "index";
$page_title = "Forum Index";
+//
+// Start session management
+//
+$userdata = session_pagestart($user_ip, PAGE_INDEX, $session_length);
+init_userprefs($userdata);
+//
+// End session management
+//
+
$total_posts = get_db_stat($db, 'postcount');
$total_users = get_db_stat($db, 'usercount');
$newest_userdata = get_db_stat($db, 'newestuser');