Undefined variable

This commit is contained in:
Alexander M. Turek
2002-08-15 10:35:51 +00:00
parent 7d82a2c31d
commit b70b4e2552
2 changed files with 7 additions and 3 deletions

View File

@@ -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 '<p class="warning">' . $strInsecureMySQL . '</p>' . "\n";