1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

[ticket/15253] Add storage abstraction

PHPBB3-15253
This commit is contained in:
Rubén Calvo
2017-06-25 14:22:54 +02:00
parent 2482ec6897
commit 334b44057d
13 changed files with 1078 additions and 0 deletions

View File

@@ -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 }

View 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'