If $allow_bail is false, the lack of database connection will need
to be handled manually.
public db_connect ( boolean $allow_bail = true ) : boolean | ||
$allow_bail | boolean | Optional. Allows the function to bail. Default true. |
return | boolean | True with a successful connection, false on failure. |