blob: 68a62afe56298f9c07fd749dde9ac41f0b638e11 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php
require_once('connect.inc');
if ($skip_on_connect_failure) {
include_once('connect.inc');
$link = @mysqli_connect($host, $user, $passwd, $db, $port, $socket);
if (!is_object($link))
die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
mysqli_close($link);
}
?>
|