mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 23:41:29 +02:00
Session code updates
git-svn-id: file:///svn/phpbb/trunk@143 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user