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.

CommentFileSizeAuthor
drush_bootstrap.patch1.31 KBcpennington

Comments

moshe weitzman’s picture

Status: Needs review » Closed (fixed)

I 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.