Skip to content

Commit

Permalink
Fix order of implode() function parameters (#9)
Browse files Browse the repository at this point in the history
Surprisingly implode() with reversed order of arguments worked 🤯
  • Loading branch information
wojciechgabrys authored and bradenkeith committed Feb 22, 2019
1 parent 9879669 commit 77081e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Multitenancy.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected function getSubDomainBasedOnHTTPHost() : string

// Combine multiple level of domains into 1 string
// ex: back to masterdomain.test
$subdomain = implode($subdomains, '.');
$subdomain = implode('.', $subdomains);

return $subdomain;
}
Expand Down

0 comments on commit 77081e9

Please sign in to comment.