Localized Settings Files in Drupal

Last modified: 
Wednesday, June 24th, 2015
Topics: 
Drupal
/** @file settings.php */
/**
* Usually this page contains a switch that manages configuration values for 
* for various environments. These rules are shared between users.
*/
if (file_exists(DRUPAL_ROOT . '/sites/default/settings.env-conf.php')) {
  require_once DRUPAL_ROOT . '/sites/default/settings.env-conf.php';
}

/**
* Database connections info and modification applicable to the user's
* local machine are kept here. 
*/
if (file_exists(DRUPAL_ROOT . '/sites/default/settings.local.php')) {
  require_once DRUPAL_ROOT . '/sites/default/settings.local.php';
}


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.