Skip to content

Instantly share code, notes, and snippets.

@opdavies
Last active August 29, 2015 14:10
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 opdavies/f6ab63a85c6c39b86779 to your computer and use it in GitHub Desktop.
Save opdavies/f6ab63a85c6c39b86779 to your computer and use it in GitHub Desktop.
A base local settings file for Drupal sites.
<?php
$databases = array();
$base_url = '';
$conf['site_name'] = '';
// Display all messages.
// $conf['error_level'] = 2;
// Disable caching.
// $conf['cache'] = 0;
// $conf['block_cache'] = 0;
// $conf['cache_lifetime'] = 0;
// $conf['page_cache_maximum_age'] = 0;
// $conf['preprocess_css'] = 0;
// $conf['preprocess_js'] = 0;
// Mail rerouting.
// $conf['reroute_email_enable'] = 1;
// $conf['reroute_email_enable_message'] = 1;
// $conf['reroute_email_address'] = '';
// $conf['reroute_email_address'] = implode(';', array());
// File proxy.
// $conf['stage_file_proxy_origin'] = 'http://www.example.com';
// $conf['stage_file_proxy_origin'] = 'http://username:password@www.example.com';
// $conf['stage_file_proxy_hotlink'] = TRUE;
// $conf['stage_file_proxy_use_imagecache_root'] = FALSE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment