mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-22 00:32:29 +02:00
Merge branch 'ticket/bantu/9656' into develop-olympus
* ticket/bantu/9656: [ticket/9656] Remove @ from phpinfo() to get correct error_reporting value.
This commit is contained in:
commit
d537dc60ce
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user