Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 468 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 468 Bytes

drupal7-settings_local_snippets

Snippets to use in a settings.local.php file.

Use these to construct a settings.local.php file.

Don't forget to add settings.local.php to your project's .gitignore, and the following snippet to the bottom of your settings.php file:

/**
 * Include a local settings file if it exists.
 */
$local_settings = dirname(__FILE__) . '/settings.local.php';
if (file_exists($local_settings)) {
  include $local_settings;
}