diff --git a/ChangeLog b/ChangeLog index ea655f313..b6f8e998d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA thanks to Virsacer - virsacer - bug [history] QueryHistoryDB is not respected - bug #2905629 [auth] Blowfish secret is not hashed +- bug #2910000 [gui] ShowServerInfo should hide all server info from main page 3.2.4.0 (2009-12-02) - bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status diff --git a/libraries/config.default.php b/libraries/config.default.php index ec3680797..a0243e638 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -756,7 +756,7 @@ $cfg['ShowStats'] = true; $cfg['ShowPhpInfo'] = false; /** - * show MySQL server information + * show MySQL server and web server information * * @global boolean $cfg['ShowServerInfo'] */ diff --git a/main.php b/main.php index 9f03810f2..f59e3c2bf 100644 --- a/main.php +++ b/main.php @@ -182,19 +182,16 @@ echo ''; echo ''; echo '
'; - -if ($server > 0) { +if ($server > 0 && $GLOBALS['cfg']['ShowServerInfo']) { echo '
'; echo '

MySQL

'; echo '
'; } +if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) { + echo '
'; + echo '

' . $strWebServer . '

'; + echo ''; -echo '
'; - echo '
'; echo '

phpMyAdmin

'; echo '