1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[task/whitelist-code-coverage] Load all of includes/ into code coverage report

PHPBB3-10314
This commit is contained in:
Nils Adermann
2011-08-07 19:18:52 -04:00
parent c7115a2f01
commit c24249ae55
3 changed files with 37 additions and 3 deletions

View File

@@ -16,8 +16,6 @@ if (!defined('IN_PHPBB'))
exit;
}
include($phpbb_root_path . 'includes/questionnaire/questionnaire.' . $phpEx);
/**
* @package acp
*/
@@ -27,7 +25,9 @@ class acp_send_statistics
function main($id, $mode)
{
global $config, $template, $phpbb_admin_path, $phpEx;
global $config, $template, $phpbb_admin_path, $phpbb_root_path, $phpEx;
include($phpbb_root_path . 'includes/questionnaire/questionnaire.' . $phpEx);
$collect_url = "http://www.phpbb.com/stats/receive_stats.php";