Do not fail if no server is defined.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2006-01-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/sqlparser.lib.php: bug #1394479, problem detecting ending
|
* libraries/sqlparser.lib.php: bug #1394479, problem detecting ending
|
||||||
semi-colon, generates a SHOW KEYS FROM no table name
|
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";
|
echo '<ul>' . "\n";
|
||||||
|
|
||||||
PMA_printListItem( $strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(),
|
if ( $server > 0 ) {
|
||||||
'li_mysql_client_version' );
|
PMA_printListItem( $strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(),
|
||||||
PMA_printListItem( $strUsedPhpExtensions . ': ' . $GLOBALS['cfg']['Server']['extension'],
|
'li_mysql_client_version' );
|
||||||
'li_used_php_extension' );
|
PMA_printListItem( $strUsedPhpExtensions . ': ' . $GLOBALS['cfg']['Server']['extension'],
|
||||||
|
'li_used_php_extension' );
|
||||||
|
}
|
||||||
|
|
||||||
// Displays language selection combo
|
// Displays language selection combo
|
||||||
if (empty($cfg['Lang'])) {
|
if (empty($cfg['Lang'])) {
|
||||||
|
Reference in New Issue
Block a user