mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Include live data in the statistics #53795
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10423 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
bdf60ab2c1
commit
e2deb29d59
1 changed files with 4 additions and 0 deletions
|
@ -267,6 +267,7 @@ class phpbb_questionnaire_phpbb_data_provider
|
|||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
include("{$phpbb_root_path}config.$phpEx");
|
||||
unset($dbhost, $dbport, $dbname, $dbuser, $dbpasswd); // Just a precaution
|
||||
|
||||
// Only send certain config vars
|
||||
$config_vars = array(
|
||||
|
@ -480,10 +481,13 @@ class phpbb_questionnaire_phpbb_data_provider
|
|||
}
|
||||
}
|
||||
|
||||
global $db;
|
||||
|
||||
$result['dbms'] = $dbms;
|
||||
$result['acm_type'] = $acm_type;
|
||||
$result['load_extensions'] = $load_extensions;
|
||||
$result['user_agent'] = 'Unknown';
|
||||
$result['dbms_version'] = $db->sql_server_info(true);
|
||||
|
||||
// Try to get user agent vendor and version
|
||||
$match = array();
|
||||
|
|
Loading…
Add table
Reference in a new issue