Sorry had to go out earlier.
Line 82: simple_faucet.php: if (!mysqli_connect_error() && !is_null($this->balance = $this->rpc("getbalance")))
Else
Line 190: simple_faucet.php: $this->status = SF_STATUS_MYSQL_CONNECTION_FAILED;
So it basically checks your db settings and rpc getbalance, if one is wrong then return SF_STATUS_MYSQL_CONNECTION_FAILED
That isnt such a 'nice' way to do it.