bug 1111706 undefined function PMA_reloadNavigation
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-01-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/dbi/mysqli.dbi.lib.php: bug #1111706, call to undefined
|
||||
function PMA_reloadNavigation(). A failed connection was not properly
|
||||
detected
|
||||
|
||||
2005-01-27 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/fpdf/fpdf.php: bug #1106146, missing header for PDF,
|
||||
thanks to Michal
|
||||
|
@@ -68,9 +68,9 @@ function PMA_DBI_connect($user, $password) {
|
||||
|
||||
$client_flags = $cfg['Server']['compress'] && defined('MYSQLI_CLIENT_COMPRESS') ? MYSQLI_CLIENT_COMPRESS : 0;
|
||||
|
||||
@mysqli_real_connect($link, $cfg['Server']['host'], $user, $password, FALSE, $server_port, $server_socket, $client_flags);
|
||||
$return_value = @mysqli_real_connect($link, $cfg['Server']['host'], $user, $password, FALSE, $server_port, $server_socket, $client_flags);
|
||||
|
||||
if (empty($link)) {
|
||||
if ($return_value == FALSE) {
|
||||
PMA_auth_fails();
|
||||
} // end if
|
||||
|
||||
|
Reference in New Issue
Block a user