aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index e5278bb1e3..e3c57ee5e5 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -75,10 +75,13 @@ $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f'
// removing them
//
$total_posts = get_db_stat('postcount');
-$total_users = get_db_stat('usercount');
-$newest_userdata = get_db_stat('newestuser');
-$newest_user = $newest_userdata['username'];
-$newest_uid = $newest_userdata['user_id'];
+//$total_users = get_db_stat('usercount');
+//$newest_userdata = get_db_stat('newestuser');
+//$newest_user = $newest_userdata['username'];
+//$newest_uid = $newest_userdata['user_id'];
+$total_users = $board_config['num_users'];
+$newest_user = $board_config['newest_username'];
+$newest_uid = $board_config['newest_user_id'];
if( $total_posts == 0 )
{