Instantly share code, notes, and snippets.

Embed
What would you like to do?
Include local.settings.php
<?php
/**
* Include local.settings.php
*
* The file is in .gitignore so we can safely use it for local configs.
*/
if (file_exists('sites/default/local.settings.php')) {
include('local.settings.php');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment