Skip to content

Commit

Permalink
Continue drush-ops#3166/2. Fix incorrect script name when Drupal uses…
Browse files Browse the repository at this point in the history
… a domain + subdir without scheme.
  • Loading branch information
rmuit committed Jan 6, 2019
1 parent 0a817c4 commit 26bbf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Boot/DrupalBoot8.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function bootstrapDrupalSiteValidate(BootstrapManager $manager)

// Account for users who omit the http:// prefix.
if (empty($parsed_url['scheme'])) {
$this->uri = 'http://' . $this->uri;
$this->uri = 'http://' . $uri;
$parsed_url = parse_url($this->uri);
}

Expand Down

0 comments on commit 26bbf4e

Please sign in to comment.