Skip to content

Instantly share code, notes, and snippets.

@JuggoPop
Created February 18, 2014 18:32
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 JuggoPop/9076869 to your computer and use it in GitHub Desktop.
Save JuggoPop/9076869 to your computer and use it in GitHub Desktop.
Set useful Drupal development environment variables in settings.php
/*
Set some useful development environment variables
*/
# change site name
$conf['site_name'] = 'SITENAME LOCAL';
# turn off caching & aggregation
$conf['cache'] = FALSE;
$conf['block_cache'] = FALSE;
$conf['preprocess_css'] = FALSE;
$conf['preprocess_js'] = FALSE;
# toggle module settings
# $conf['apachesolr_read_only'] = 1;
# $conf['apc_enable'] = FALSE;
# enable developer modules
$conf['devel_enable'] = TRUE;
$conf['devel_themer_enable'] = TRUE;
# display all error messages
$conf['error_level'] = 2;
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
# intercept emails using Devel
$conf['mail_system'] = array(
'default-system' => 'DevelMailLog',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment