diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-06-14 22:34:31 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-06-20 21:43:56 +0200 |
commit | 52c3b51c95b408a284bd278379679ad00a2151af (patch) | |
tree | 73d626a293c3c099c7c168ed63e3dcf990cedbb0 /phpBB | |
parent | a5b238019b24a944e4ca8c6fe34dee9897790bd6 (diff) | |
download | forums-52c3b51c95b408a284bd278379679ad00a2151af.tar forums-52c3b51c95b408a284bd278379679ad00a2151af.tar.gz forums-52c3b51c95b408a284bd278379679ad00a2151af.tar.bz2 forums-52c3b51c95b408a284bd278379679ad00a2151af.tar.xz forums-52c3b51c95b408a284bd278379679ad00a2151af.zip |
[ticket/9656] Remove @ from phpinfo() to get correct error_reporting value.
PHPBB3-9656
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/acp/acp_php_info.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_php_info.php b/phpBB/includes/acp/acp_php_info.php index 9935c0466e..0499095004 100644 --- a/phpBB/includes/acp/acp_php_info.php +++ b/phpBB/includes/acp/acp_php_info.php @@ -35,9 +35,9 @@ class acp_php_info $this->tpl_name = 'acp_php_info'; $this->page_title = 'ACP_PHP_INFO'; - + ob_start(); - @phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES | INFO_VARIABLES); + phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES | INFO_VARIABLES); $phpinfo = ob_get_clean(); $phpinfo = trim($phpinfo); |