Skip to content

Instantly share code, notes, and snippets.

@KeyboardCowboy
Last active April 27, 2016 16:30
Show Gist options
  • Save KeyboardCowboy/f02486d68c9acacc4258a3f29ec54079 to your computer and use it in GitHub Desktop.
Save KeyboardCowboy/f02486d68c9acacc4258a3f29ec54079 to your computer and use it in GitHub Desktop.
Local Drush Environment File

Add these files to your ~/.drush directory or your Drupal project.

<?php
/**
* Generic local env settings.
*/
$env = array(
'modules' => array(
'admin_menu' => 1,
'admin_menu_toolbar' => 1,
'coffee' => 1,
'devel' => 1,
'fpa' => 1,
'memcache' => 0,
'memcache_admin' => 0,
'toolbar' => 0,
'overlay' => 0,
),
'vars' => array(
'syslog_format' => '[!type] !message',
),
'perms' => array(
'anonymous user' => array(
'access devel information' => 1,
),
'authenticated user' => array(),
),
);
<?php
/**
* Generic local env settings.
*/
$env = array(
'modules' => array(
'admin_devel' => 1,
'devel' => 1,
'field_ui' => 1,
'views_ui' => 1,
'update' => 1,
'securepages' => 0,
),
'vars' => array(
'cache' => 0,
'block_cache' => 0,
'preprocess_js' => 0,
'preprocess_css' => 0,
'securelogin_secure_forms' => 0,
'error_level' => 2,
),
'perms' => array(
'anonymous user' => array(
'access devel information' => 1,
),
'authenticated user' => array(),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment