Do not fail if no server is defined.
This commit is contained in:
@@ -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
|
||||
|
10
main.php
10
main.php
@@ -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'])) {
|
||||
|
Reference in New Issue
Block a user