When I run drush.php I get an error: drupal_get_path is undefined at line 123.
Attached patch is what I changed to make it work.
| Comment | File | Size | Author |
|---|---|---|---|
| drush_drupal_get_path.patch | 698 bytes | john morahan |
When I run drush.php I get an error: drupal_get_path is undefined at line 123.
Attached patch is what I changed to make it work.
| Comment | File | Size | Author |
|---|---|---|---|
| drush_drupal_get_path.patch | 698 bytes | john morahan |
Comments
Comment #1
Frando commentedFixed in HEAD, though in a little different way than in your patch. Thanks for reporting!
Missed that as somehow the symbolic link I used to invoke drush pointed to the wrong drush.php
Comment #2
(not verified) commentedComment #3
moshe weitzman commentedseems like we should do a new release soon to get this out, no?
Comment #4
mikedotexe commentedThis still seems to be a problem with Drupal 7.39
Easy way around it is to just use the code inside that function, until this patch is committed.
Instead of:
$path = drupal_get_path('module', 'mikedotexe');We just:
$path = dirname(drupal_get_filename('module', 'mikedotexe'));