mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
[ticket/15253] Add storage abstraction
PHPBB3-15253
This commit is contained in:
@@ -25,6 +25,7 @@ imports:
|
||||
- { resource: services_profilefield.yml }
|
||||
- { resource: services_report.yml }
|
||||
- { resource: services_routing.yml }
|
||||
- { resource: services_storage.yml }
|
||||
- { resource: services_text_formatter.yml }
|
||||
- { resource: services_text_reparser.yml }
|
||||
- { resource: services_twig.yml }
|
||||
|
14
phpBB/config/default/container/services_storage.yml
Normal file
14
phpBB/config/default/container/services_storage.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
storage.adapter.avatar:
|
||||
class: phpbb\storage\adapter\local
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
storage.avatar:
|
||||
class: phpbb\storage\storage
|
||||
arguments:
|
||||
- '@storage.adapter.avatar'
|
||||
storage.controller:
|
||||
class: phpbb\storage\controller
|
||||
arguments:
|
||||
- '@service_container'
|
Reference in New Issue
Block a user