Skip to content

Commit

Permalink
Add a comment to sync_enable with instructions on using $conf variabl…
Browse files Browse the repository at this point in the history
…es instead of variable_set
  • Loading branch information
greg-1-anderson committed Feb 7, 2014
1 parent 9874b47 commit 31f3a85
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions examples/sync_enable.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@
* file to a location where Drush will find it, such as
* $HOME/.drush. See `drush topic docs-commands` for more
* information.
*
* To set variables on a development site:
*
* Instead of calling variable_set and variable_delete in a post-sync
* hook, consider adding $conf variables to settings.php.
*
* For example:
*
* $conf['error_level'] = 2;
* error_reporting(E_ALL);
* ini_set('display_errors', TRUE);
* ini_set('display_startup_errors', TRUE);
* $conf['preprocess_css'] = 0;
* $conf['cache'] = 0;
* $conf['googleanalytics_account'] = '';
*/

/**
Expand Down

0 comments on commit 31f3a85

Please sign in to comment.