Created
July 1, 2014 20:06
-
-
Save davereid/5be00cb29c509ee3e64e to your computer and use it in GitHub Desktop.
Getting Acquia to load the /drush/drushrc.php for site checkouts.
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
<?php | |
// ~/.drush/drushrc.php | |
if ($root = drush_get_option('root')) { | |
$drush_dir = str_replace('/docroot', '/drush', $root); | |
if (is_file($drush_dir . '/drushrc.php')) { | |
$options['config'] = $drush_dir . '/drushrc.php'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment