aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/services.yml
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/config/services.yml')
-rw-r--r--phpBB/config/services.yml29
1 files changed, 25 insertions, 4 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml
index 4b272c6abd..8abc413a5a 100644
--- a/phpBB/config/services.yml
+++ b/phpBB/config/services.yml
@@ -8,6 +8,12 @@ imports:
- { resource: auth_providers.yml }
services:
+ acl.permissions:
+ class: phpbb_permissions
+ arguments:
+ - @dispatcher
+ - @user
+
auth:
class: phpbb_auth
@@ -66,6 +72,19 @@ services:
- @dbal.conn
- %tables.config_text%
+ content.visibility:
+ class: phpbb_content_visibility
+ arguments:
+ - @auth
+ - @dbal.conn
+ - @user
+ - %core.root_path%
+ - %core.php_ext%
+ - %tables.forums%
+ - %tables.posts%
+ - %tables.topics%
+ - %tables.users%
+
controller.helper:
class: phpbb_controller_helper
arguments:
@@ -79,7 +98,7 @@ services:
arguments:
- @user
- @service_container
- - @ext.finder
+ - @style
cron.task_collection:
class: phpbb_di_service_collection
@@ -113,7 +132,6 @@ services:
- [sql_connect, [%dbal.dbhost%, %dbal.dbuser%, %dbal.dbpasswd%, %dbal.dbname%, %dbal.dbport%, false, %dbal.new_link%]]
dbal.tools:
- file: %core.root_path%includes/db/db_tools.%core.php_ext%
class: phpbb_db_tools
arguments:
- @dbal.conn
@@ -227,6 +245,9 @@ services:
- %tables.notifications%
- %tables.user_notifications%
+ php_ini:
+ class: phpbb_php_ini
+
request:
class: phpbb_request
@@ -255,15 +276,15 @@ services:
class: phpbb_style_path_provider
template:
- class: phpbb_template
+ class: phpbb_template_twig
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- @user
- - @style.resource_locator
- @template_context
- @ext.manager
+ - %core.adm_relative_path%
template_context:
class: phpbb_template_context