Limit what we display in phpinfo
- general information - configuration - modules This way we avoid displaying sensitive things (such as httpOnly cookies from environment of variables). Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
93e354c2e3
commit
1089a7d67e
@ -18,5 +18,5 @@ $response->getHeader()->sendHttpHeaders();
|
||||
* Displays PHP information
|
||||
*/
|
||||
if ($GLOBALS['cfg']['ShowPhpInfo']) {
|
||||
phpinfo();
|
||||
phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user