mrchimp/core — comment on commit d82de2c8fe83869d8f1e690c41b5a48adf12c837
File:  line 0
By mrchimp:

You'd be exposing the config dir to the user which isn't good, even if its
caused by a misconfiguration. I admit it could be better worded though.

On 23 Nov 2011 00:24, "Daniel Hewes" <
reply@reply.github.com>
wrote:

> I recommend updating this die statement to something like:
> die('db_con/'.HOST.'php config file not found.')
> Output: db_con/example.com.php config file not found.
>
> The current message is a bit confusing. As the if statement is checking
> that the file exists, not if it is configured or not. New message will also
> give the user the path to where the file should be.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/mrchimp/core/commit/d82de2c8fe83869d8f1e690c41b5a48adf12c837#commitcomment-739673
>