mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
Merge branch 'develop' into feature/avatars
Conflicts: phpBB/install/database_update.php
This commit is contained in:
@@ -6,6 +6,8 @@ services:
|
||||
- %core.php_ext%
|
||||
- @config
|
||||
- @dbal.conn
|
||||
calls:
|
||||
- [set_name, [cron.task.core.prune_all_forums]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -16,6 +18,8 @@ services:
|
||||
- %core.php_ext%
|
||||
- @config
|
||||
- @dbal.conn
|
||||
calls:
|
||||
- [set_name, [cron.task.core.prune_forum]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -25,6 +29,8 @@ services:
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @config
|
||||
calls:
|
||||
- [set_name, [cron.task.core.queue]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -33,6 +39,8 @@ services:
|
||||
arguments:
|
||||
- @config
|
||||
- @cache.driver
|
||||
calls:
|
||||
- [set_name, [cron.task.core.tidy_cache]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -42,6 +50,8 @@ services:
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @config
|
||||
calls:
|
||||
- [set_name, [cron.task.core.tidy_database]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -54,6 +64,8 @@ services:
|
||||
- @config
|
||||
- @dbal.conn
|
||||
- @user
|
||||
calls:
|
||||
- [set_name, [cron.task.core.tidy_search]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -62,6 +74,8 @@ services:
|
||||
arguments:
|
||||
- @config
|
||||
- @user
|
||||
calls:
|
||||
- [set_name, [cron.task.core.tidy_sessions]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
@@ -71,5 +85,7 @@ services:
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
- @config
|
||||
calls:
|
||||
- [set_name, [cron.task.core.tidy_warnings]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
9
phpBB/config/routing.yml
Normal file
9
phpBB/config/routing.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Structure:
|
||||
#
|
||||
# foo_controller:
|
||||
# pattern: /foo
|
||||
# defaults: { _controller: foo_sevice:method }
|
||||
#
|
||||
# The above will be accessed via app.php?controller=foo and it will
|
||||
# instantiate the "foo_service" service and call the "method" method.
|
||||
#
|
@@ -59,6 +59,21 @@ services:
|
||||
- @cache.driver
|
||||
- %tables.config%
|
||||
|
||||
controller.helper:
|
||||
class: phpbb_controller_helper
|
||||
arguments:
|
||||
- @template
|
||||
- @user
|
||||
- %core.root_path%
|
||||
- .%core.php_ext%
|
||||
|
||||
controller.resolver:
|
||||
class: phpbb_controller_resolver
|
||||
arguments:
|
||||
- @user
|
||||
- @service_container
|
||||
- @ext.finder
|
||||
|
||||
cron.task_collection:
|
||||
class: phpbb_di_service_collection
|
||||
arguments:
|
||||
@@ -108,6 +123,43 @@ services:
|
||||
- .%core.php_ext%
|
||||
- @cache.driver
|
||||
|
||||
ext.finder:
|
||||
class: phpbb_extension_finder
|
||||
arguments:
|
||||
- @ext.manager
|
||||
- %core.root_path%
|
||||
- @cache.driver
|
||||
- .%core.php_ext%
|
||||
- _ext_finder
|
||||
|
||||
http_kernel:
|
||||
class: Symfony\Component\HttpKernel\HttpKernel
|
||||
arguments:
|
||||
- @dispatcher
|
||||
- @controller.resolver
|
||||
|
||||
kernel_request_subscriber:
|
||||
class: phpbb_event_kernel_request_subscriber
|
||||
arguments:
|
||||
- @ext.finder
|
||||
- %core.root_path%
|
||||
- .%core.php_ext%
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
kernel_exception_subscriber:
|
||||
class: phpbb_event_kernel_exception_subscriber
|
||||
arguments:
|
||||
- @template
|
||||
- @user
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
kernel_terminate_subscriber:
|
||||
class: phpbb_event_kernel_terminate_subscriber
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
||||
|
||||
request:
|
||||
class: phpbb_request
|
||||
|
||||
|
Reference in New Issue
Block a user