Skip to content

Instantly share code, notes, and snippets.

@aschiwi
Created June 24, 2013 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aschiwi/5848755 to your computer and use it in GitHub Desktop.
Save aschiwi/5848755 to your computer and use it in GitHub Desktop.
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