diff options
author | Michal Čihař <michal@cihar.com> | 2016-07-23 12:31:46 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-07-23 12:31:46 +0300 |
commit | e67e69229a1df3a26df12b1bae89065834fd85b4 (patch) | |
tree | e42c4a3f8e44e933f5b2098d0f5dfa15715677d9 /phpinfo.php | |
parent | 754c1c987bef11093e905dfa20b06273851647ea (diff) |
Remove option to show phpinfo() ($cfg['ShowPhpInfo'])
This is really more a PHP debugging feature than anything related to
phpMyAdmin. If user wants to debug, it's as simple a creating file with
one line of php code.
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'phpinfo.php')
-rw-r--r-- | phpinfo.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/phpinfo.php b/phpinfo.php deleted file mode 100644 index 6ac84c7ea4..0000000000 --- a/phpinfo.php +++ /dev/null @@ -1,22 +0,0 @@ -<?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'; -$response = PMA\libraries\Response::getInstance(); -$response->disable(); -$response->getHeader()->sendHttpHeaders(); - -/** - * Displays PHP information - */ -if ($GLOBALS['cfg']['ShowPhpInfo']) { - phpinfo(); -} |