8000 [FrameworkBundle] added new parameter router.request_context.url by pyatnitsev · Pull Request #35580 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] added new parameter router.request_context.url #35580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[FrameworkBundle] fixed code standards
  • Loading branch information
pyatnitsev committed Feb 3, 2020
commit 7465340c4dc74fabf145bacb27422f3c2f1187c1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function process(ContainerBuilder $container)
$container->setParameter("request_listener.{$name}_port", $urlComponents['port']);
}
if (isset($urlComponents['path'])) {
$container->setParameter("router.request_context.base_url", $urlComponents['path']);
$container->setParameter('router.request_context.base_url', $urlComponents['path']);
}
}
}
}
0