Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-07-23 12:31:46 +0300
committerMichal Čihař <michal@cihar.com>2016-07-23 12:31:46 +0300
commite67e69229a1df3a26df12b1bae89065834fd85b4 (patch)
treee42c4a3f8e44e933f5b2098d0f5dfa15715677d9 /phpinfo.php
parent754c1c987bef11093e905dfa20b06273851647ea (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.php22
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();
-}