mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/controller] Use a dumped url matcher class to improve performance
PHPBB3-10864
This commit is contained in:
@@ -123,7 +123,7 @@ services:
|
||||
- @ext.manager
|
||||
- %core.root_path%
|
||||
- @cache.driver
|
||||
- .%core.php_ext%
|
||||
- %core.php_ext%
|
||||
- _ext_finder
|
||||
|
||||
http_kernel:
|
||||
@@ -137,22 +137,15 @@ services:
|
||||
arguments:
|
||||
- @template
|
||||
- @user
|
||||
- @ext.finder
|
||||
- %core.root_path%
|
||||
- .%core.php_ext%
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
request:
|
||||
class: phpbb_request
|
||||
|
||||
request.context:
|
||||
class: Symfony\Component\Routing\RequestContext
|
||||
|
||||
router_listener:
|
||||
class: Symfony\Component\HttpKernel\EventListener\RouterListener
|
||||
arguments:
|
||||
- @url_matcher
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
style:
|
||||
class: phpbb_style
|
||||
arguments:
|
||||
@@ -189,11 +182,5 @@ services:
|
||||
template_context:
|
||||
class: phpbb_template_context
|
||||
|
||||
url_matcher:
|
||||
class: Symfony\Component\Routing\Matcher\UrlMatcher
|
||||
arguments:
|
||||
- @controller.route_collection
|
||||
- @request.context
|
||||
|
||||
user:
|
||||
class: phpbb_user
|
||||
|
Reference in New Issue
Block a user