Translated using Weblate (Indonesian)
[phpmyadmin.git] / phpinfo.php
blob0daa5f9f657aa010113dc11d44f9c6947ca37f04
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * phpinfo() wrapper to allow displaying only when configured to do so.
6 * @package PhpMyAdmin
7 */
9 /**
10 * Gets core libraries and defines some variables
12 require_once 'libraries/common.inc.php';
13 $response = PMA\libraries\Response::getInstance();
14 $response->disable();
15 $response->getHeader()->sendHttpHeaders();
17 /**
18 * Displays PHP information
20 if ($GLOBALS['cfg']['ShowPhpInfo']) {
21 phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES);