for Lo�c

This commit is contained in:
Alexander M. Turek
2002-08-14 08:15:33 +00:00
parent 3856ae7175
commit 6cf355e256
4 changed files with 13 additions and 5 deletions

View File

@@ -577,8 +577,8 @@ if ($display_pmaAbsoluteUri_warning) {
/**
* Warning if using the default MySQL privileged account
*/
if ($cfg['Server']['auth_type'] == 'config'
&& $cfg['Server']['user'] == 'root'
if ($cfg['Server']['auth_type'] == 'config'
&& $cfg['Server']['user'] == 'root'
&& $cfg['Server']['password'] == '') {
echo '<p class="warning">' . $strInsecureMySQL . '</p>' . "\n";
}