hashbangcode/vlad — pull request #93 by johnennew (2014-10-02 10:09:37+00:00)
Title: Added a centralised db settings file which can be included if it exists

Suggestion to add a centralised db settings file. This can then be included in the site's settings.php code like this, so requiring the correct db settings for the environment.

if (file_exists('/var/www/vlad-db-settings.inc')) {
require '/var/www/vlad-db-settings.inc';
}