aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/questionnaire/questionnaire.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2010-01-17 18:02:04 +0000
committerChris Smith <toonarmy@phpbb.com>2010-01-17 18:02:04 +0000
commite2deb29d598a1fd074df27b9f9defefe48c3764d (patch)
treedf40453ff1f158d28c29f6e187723a457a28872f /phpBB/includes/questionnaire/questionnaire.php
parentbdf60ab2c118ae7b6374909ecf172cf6d5a112fd (diff)
downloadforums-e2deb29d598a1fd074df27b9f9defefe48c3764d.tar
forums-e2deb29d598a1fd074df27b9f9defefe48c3764d.tar.gz
forums-e2deb29d598a1fd074df27b9f9defefe48c3764d.tar.bz2
forums-e2deb29d598a1fd074df27b9f9defefe48c3764d.tar.xz
forums-e2deb29d598a1fd074df27b9f9defefe48c3764d.zip
Include live data in the statistics #53795
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10423 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/questionnaire/questionnaire.php')
-rw-r--r--phpBB/includes/questionnaire/questionnaire.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/questionnaire/questionnaire.php b/phpBB/includes/questionnaire/questionnaire.php
index e63e72909e..34fffffc8f 100644
--- a/phpBB/includes/questionnaire/questionnaire.php
+++ b/phpBB/includes/questionnaire/questionnaire.php
@@ -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();