Created
September 5, 2013 21:12
-
-
Save lrobeson/6456240 to your computer and use it in GitHub Desktop.
Set useful Drupal development environment variables in settings.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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