2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * phpinfo() wrapper to allow displaying only when configured to do so.
8 declare(strict_types
=1);
11 * Gets core libraries and defines some variables
13 require_once 'libraries/common.inc.php';
14 $response = PhpMyAdmin\Response
::getInstance();
16 $response->getHeader()->sendHttpHeaders();
19 * Displays PHP information
21 if ($GLOBALS['cfg']['ShowPhpInfo']) {
22 phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES
);