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