Skip to content

Commit

Permalink
Merge branch '5.x' of github.com:hyn/multi-tenant into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
luceos committed Jul 10, 2018
2 parents f988981 + d3231ae commit 13c7554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public function __construct(Application $app)

if ($this->installed() &&
(! $app->runningInConsole() || $app->runningUnitTests()) &&
config('tenancy.hostname.auto-identification'))
{
config('tenancy.hostname.auto-identification')) {
$this->identifyHostname();
// Identifies the current hostname, sets the binding using the native resolving strategy.
$app->make(CurrentHostname::class);
Expand Down

0 comments on commit 13c7554

Please sign in to comment.