From b70b4e2552fdfab77f06ad8a3c29eddc9fdd2329 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 15 Aug 2002 10:35:51 +0000 Subject: [PATCH] Undefined variable --- ChangeLog | 7 +++++-- main.php3 | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd183c0f7..d58d8219a 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,10 +5,13 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-08-15 Alexander M. Turek + * main.php3: Undefined variable. + 2002-08-14 Olivier L. Müller - * Documentation.html, README, ANNOUNCE.txt, tbl_dump.php3: + * Documentation.html, README, ANNOUNCE.txt, tbl_dump.php3: updated mail address of Tobias Ratschiller (requested by himself :) - + 2002-08-14 Michal Cihar * libraries/charset_conversion.lib.php3, config.inc.php3, Documentation.*: Improved detection of used recoding function, now can be configured diff --git a/main.php3 b/main.php3 index e04d9eff7..87bdac511 100755 --- a/main.php3 +++ b/main.php3 @@ -577,7 +577,8 @@ if ($display_pmaAbsoluteUri_warning) { /** * Warning if using the default MySQL privileged account */ -if ($cfg['Server']['auth_type'] == 'config' +if ($server != 0 + && $cfg['Server']['auth_type'] == 'config' && $cfg['Server']['user'] == 'root' && $cfg['Server']['password'] == '') { echo '

' . $strInsecureMySQL . '

' . "\n";