accessdigital / wilson

A Drupal installation profile produced by Access. New installations should use https://github.com/accessdigital/drupal-template
https://www.weareaccess.co.uk
4 stars 1 forks source link

🙈 add local.settings.php to example gitignore file. #12

Closed Eli-TW closed 2 years ago

Eli-TW commented 2 years ago

When using BLT, blt.settings.php looks for local settings thus:

// Local global and site-specific settings.
if (EnvironmentDetector::isLocalEnv()) {
  $settings_files[] = DRUPAL_ROOT . '/sites/settings/local.settings.php';
  $settings_files[] = DRUPAL_ROOT . "/sites/$site_name/settings/local.settings.php";
}

This PR adds those locations to the example .gitignore