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

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-08-15 Alexander M. Turek <rabus@users.sourceforge.net>
* main.php3: Undefined variable.
2002-08-14 Olivier L. M<>ller <om@omnis.ch> 2002-08-14 Olivier L. M<>ller <om@omnis.ch>
* 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 :) updated mail address of Tobias Ratschiller (requested by himself :)

View File

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