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 {
|
} else {
|
||||||
$port = null;
|
$port = null;
|
||||||
}
|
}
|
||||||
$mysqli = new mysqli($host, $user, $pass, $dbname, $port);
|
$mysqli = @new mysqli($host, $user, $pass, $dbname, $port);
|
||||||
return $mysqli;
|
return $mysqli;
|
||||||
}
|
}
|
||||||
function _mysql_query($q) {
|
function _mysql_query($q) {
|
||||||
|
|
Loading…
Reference in New Issue