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>2017-01-17 19:22:53 +0300
committerMichal Čihař <michal@cihar.com>2017-01-17 19:22:53 +0300
commit5c3f74d8753d9b6bde6fe882d4b98319b1f38e18 (patch)
tree99c4d590fe7f940f369aace62bd627d670c504f5 /index.php
parentdfa8b7e9d8392c9d6c802c418a513e9701d1e92a (diff)
parenteb2898527f44f1b0a397c84247d6fb27a2d8339f (diff)
Merge branch 'QA_4_6'
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/index.php b/index.php
index 2d9bb25e38..0ced453dd7 100644
--- a/index.php
+++ b/index.php
@@ -323,7 +323,7 @@ if ($server > 0 && $GLOBALS['cfg']['ShowServerInfo']) {
. ' </div>';
}
-if ($GLOBALS['cfg']['ShowServerInfo']) {
+if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) {
echo '<div class="group">';
echo '<h2>' , __('Web server') , '</h2>';
echo '<ul>';
@@ -363,6 +363,15 @@ if ($GLOBALS['cfg']['ShowServerInfo']) {
}
}
+ if ($cfg['ShowPhpInfo']) {
+ PMA_printListItem(
+ __('Show PHP information'),
+ 'li_phpinfo',
+ 'phpinfo.php' . $common_url_query,
+ null,
+ '_blank'
+ );
+ }
echo ' </ul>';
echo ' </div>';
}