diff options
| author | Richard McGirr <rmcgirr83@gmail.com> | 2015-04-19 08:07:45 -0400 |
|---|---|---|
| committer | RMcGirr83 <rmcgirr83@gmail.com> | 2015-10-13 11:52:52 -0400 |
| commit | d003b53922624e7e923ed529726a7f89c3ef5afa (patch) | |
| tree | 3bb0f33302858b63429e9dd4abc0128d1930c3c8 /phpBB/includes/acp/acp_send_statistics.php | |
| parent | 1164cc38a243fb2c5b41cc8882956890ff2eecd2 (diff) | |
| download | forums-d003b53922624e7e923ed529726a7f89c3ef5afa.tar forums-d003b53922624e7e923ed529726a7f89c3ef5afa.tar.gz forums-d003b53922624e7e923ed529726a7f89c3ef5afa.tar.bz2 forums-d003b53922624e7e923ed529726a7f89c3ef5afa.tar.xz forums-d003b53922624e7e923ed529726a7f89c3ef5afa.zip | |
[ticket/10572] Unguarded includes in acp files
PHPBB3-10572
Diffstat (limited to 'phpBB/includes/acp/acp_send_statistics.php')
| -rw-r--r-- | phpBB/includes/acp/acp_send_statistics.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_send_statistics.php b/phpBB/includes/acp/acp_send_statistics.php index d178be2fb0..7c9e9cf78e 100644 --- a/phpBB/includes/acp/acp_send_statistics.php +++ b/phpBB/includes/acp/acp_send_statistics.php @@ -27,7 +27,10 @@ class acp_send_statistics { global $config, $template, $phpbb_admin_path, $phpbb_root_path, $phpEx; - include($phpbb_root_path . 'includes/questionnaire/questionnaire.' . $phpEx); + if (!class_exists('phpbb_questionnaire_data_collector')) + { + include($phpbb_root_path . 'includes/questionnaire/questionnaire.' . $phpEx); + } $collect_url = "https://www.phpbb.com/stats/receive_stats.php"; |
