Show possible error messages.

This commit is contained in:
Michal Čihař
2006-03-16 22:13:52 +00:00
parent a70def98ca
commit 2741f16ecb
2 changed files with 7 additions and 1 deletions

View File

@@ -126,7 +126,12 @@ function PMA_auth_fails()
echo '<p>' . $GLOBALS['strAccessDeniedExplanation'] . '</p>' . "\n";
}
}
PMA_mysqlDie($conn_error, '');
PMA_mysqlDie($conn_error, '', true, '', false);
}
if ( ! empty( $GLOBALS['PMA_errors'] ) && is_array( $GLOBALS['PMA_errors'] ) ) {
foreach ( $GLOBALS['PMA_errors'] as $error ) {
echo '<div class="error">' . $error . '</div>' . "\n";
}
}
?>
</td>