Merge branch 'QA_3_4'
[phpmyadmin.git] / phpinfo.php
blob152c4b39a7d0f6be22590c2f03d07ec075c4f122
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.
5 * @package phpMyAdmin
6 */
8 /**
9 * Gets core libraries and defines some variables
11 require_once './libraries/common.inc.php';
14 /**
15 * Displays PHP information
17 if ($GLOBALS['cfg']['ShowPhpInfo']) {
18 phpinfo();