avoid display of errors

This commit is contained in:
Marc Delisle
2004-01-24 18:44:13 +00:00
parent 155a07dd7c
commit 279d4d3cde

View File

@@ -43,7 +43,7 @@ function PMA_DBI_connect($user, $password) {
? FALSE
: $cfg['Server']['socket'];
$link = mysqli_connect($cfg['Server']['host'], $user, $password, FALSE, $server_port, $server_socket);
$link = @mysqli_connect($cfg['Server']['host'], $user, $password, FALSE, $server_port, $server_socket);
if (empty($link)) {
PMA_auth_fails();
@@ -213,4 +213,4 @@ function PMA_DBI_get_fields_meta($result) {
return mysqli_fetch_fields($result);
}
?>
?>