Closed (fixed)
Project:
Drush
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2008 at 16:09 UTC
Updated:
6 Dec 2008 at 15:01 UTC
When using the $override array in an rc file to override the 'site_frontpage' variable, the override doesn't happen early enough in the bootstrap process to effect what path is actually put into $_GET. This is because $_GET is set during DRUPAL_BOOTSTRAP_PATH, but drush doesn't override the $conf array until after the full bootstrap process is finished. The attached patch has a fix that splits the bootstrap process after DRUPAL_BOOTSTRAP_CONFIGURATION, overrides the $conf array, and then finishes the bootstrap.
| Comment | File | Size | Author |
|---|---|---|---|
| drush_bootstrap.patch | 1.31 KB | cpennington |
Comments
Comment #1
moshe weitzman commentedI think we fixed this in the commit that is coming later today. #335360: Drush does NOT have to be a module!.
This could be applied to older branch if folks can test it. I suspect nppne wil lcare anymore so please reopen this if you have verified this patch.