When `mysqli_connect` fails, `$link` becomes false, and the `or` branch is taken, which uses `mysqli_error($link)`, which in turn fails because `$link` is false. Since it's correctly checking `mysqli_connect_errno()` in the next line, just removing the `or` suffices. Per report by jonhboy Resident. |
||
---|---|---|
.. | ||
settings-config.inc.php | ||
settings.php |