avoid display of errors
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user