Skip to content

Commit

Permalink
Update DomainBasedLocaleRouter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvw authored Nov 10, 2024
1 parent ee41e29 commit 1644c13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private function getReverseLocaleMap(): array
public function getRouteCollection(): RouteCollection
{
if (!$this->enabledImprovedRouter) {
trigger_deprecation('kunstmaan/multidomain-bundle', '7.2', 'Not enabling the improved router is deprecated and the changed and improved router will be the default in 8.0. Set the "kunstmaan_multi_domain.enable_improved_domain_based_local_router" config to true.');
trigger_deprecation('kunstmaan/multidomain-bundle', '7.2', 'Not enabling the improved router is deprecated and the changed and improved router will be the default in 8.0. Set the "kunstmaan_node.enable_improved_router" config to true.');

if (($this->otherSite && $this->isMultiLanguage($this->otherSite['host'])) || (!$this->otherSite && $this->isMultiLanguage())) {
if (!$this->routeCollectionMultiLanguage) {
Expand Down

0 comments on commit 1644c13

Please sign in to comment.