diff options
author | Christian Foellmann <foellmann@foe-services.de> | 2014-04-05 17:35:38 +0400 |
---|---|---|
committer | Christian Foellmann <foellmann@foe-services.de> | 2014-04-05 17:35:38 +0400 |
commit | 9eb27ef6ebc763ddc6f6278462b8ffeed6de0e36 (patch) | |
tree | d3b4a1c7ae68cafb05b9d60040c9c22d457cee62 /phpinfo.php | |
parent | d472216554769ba596795f23a70c1809fa8897a3 (diff) |
INIT phpmyadmin 4.1.12 multilanguage
Diffstat (limited to 'phpinfo.php')
-rw-r--r-- | phpinfo.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/phpinfo.php b/phpinfo.php new file mode 100644 index 0000000000..5854ff4c9e --- /dev/null +++ b/phpinfo.php @@ -0,0 +1,21 @@ +<?php +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * phpinfo() wrapper to allow displaying only when configured to do so. + * + * @package PhpMyAdmin + */ + +/** + * Gets core libraries and defines some variables + */ +require_once 'libraries/common.inc.php'; +PMA_Response::getInstance()->disable(); + +/** + * Displays PHP information + */ +if ($GLOBALS['cfg']['ShowPhpInfo']) { + phpinfo(); +} +?> |