mirror of https://github.com/BOINC/boinc.git
web: suppress DB connect warnings
This commit is contained in:
parent
a75af409e8
commit
2cb97f4b89
|
@ -49,7 +49,7 @@ if (MYSQLI) {
|
|||
} else {
|
||||
$port = null;
|
||||
}
|
||||
$mysqli = new mysqli($host, $user, $pass, $dbname, $port);
|
||||
$mysqli = @new mysqli($host, $user, $pass, $dbname, $port);
|
||||
return $mysqli;
|
||||
}
|
||||
function _mysql_query($q) {
|
||||
|
|
Loading…
Reference in New Issue