Do not fail if no server is defined.

This commit is contained in:
Michal Čihař
2006-01-11 09:54:45 +00:00
parent 32a946d084
commit b9a53f9c0e
2 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-01-11 Michal Čihař <michal@cihar.com>
* main.php: Do not fail if no server is defined.
2006-01-10 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.lib.php: bug #1394479, problem detecting ending
semi-colon, generates a SHOW KEYS FROM no table name

View File

@@ -212,10 +212,12 @@ echo '<h1 xml:lang="en" dir="ltr">phpMyAdmin - ' . PMA_VERSION . '</h1>'
echo '<ul>' . "\n";
PMA_printListItem( $strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(),
'li_mysql_client_version' );
PMA_printListItem( $strUsedPhpExtensions . ': ' . $GLOBALS['cfg']['Server']['extension'],
'li_used_php_extension' );
if ( $server > 0 ) {
PMA_printListItem( $strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(),
'li_mysql_client_version' );
PMA_printListItem( $strUsedPhpExtensions . ': ' . $GLOBALS['cfg']['Server']['extension'],
'li_used_php_extension' );
}
// Displays language selection combo
if (empty($cfg['Lang'])) {