Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.3.5
-
Fix Version/s: 3.4.alpha
-
Component/s: None
-
Labels:None
Description
The following patch adds minor checks to see if civicrm is being called by drush, and if yes, does not include the civicrm.config.php (which is included with a relative path, so drush crashes, since it is not always in a specific directory).
For CRM/Utils/System/Drupal.php, it also simplifies the check (returns faster), since otherwise the path is similar to /var/foo/bar/drupalroot/, and then the function removes the last part, assuming that it is a php script.
Attachments
Issue Links
- blocks
-
CRM-7719 Add drush functions for civimail and updatemembershiprecords scripts
- Done/Fixed