Elgg/Elgg — comment on commit fdb43558396123b1dd500812c4b423c0ef72fb96
File:  line 0
By brettp:

That apparently depends on what you mean by "bad settings file" and "friendly error message."

With the change:
* Incorrect credentials or db host: "Elgg couldn't connect to the database using the given credentials. Check the settings file."
* Incorrect db name: "Elgg couldn't select the database 'elgg_trunks', please check that the database is created and you have access to it. Fatal error in exception handler. Check log for Exception #1319165810"
* Incorrect prefix: "Unable to handle this request. This site is not configured or the database is down. Fatal error in exception handler. Check log for Exception #1319166096"

Without the change:
* Incorrect credentials or db host: "Unable to handle this request. This site is not configured or the database is down."
* Incorrect db name or prefix: "Unable to handle this request. This site is not configured or the database is down. Fatal error in exception handler. Check log for Exception #1319165936"