Skip to content

Commit

Permalink
Fix drush site installation issues with latest drush due to unset $re…
Browse files Browse the repository at this point in the history
…quest variable.
  • Loading branch information
fago committed Dec 6, 2020
1 parent 73f2322 commit 21b2e42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/sites/sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@

// Just pick up the result of the multisite-request-matcher, invoked via
// dotenv/loader.php.
$sites[$request->getHost()] = getenv('SITE');
if (isset($request) && getenv('SITE')) {
$sites[$request->getHost()] = getenv('SITE');
}

0 comments on commit 21b2e42

Please sign in to comment.