1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15286] Use storage in attachments

PHPBB3-15286
This commit is contained in:
Rubén Calvo
2017-08-09 12:21:19 +02:00
parent 1c9798320e
commit e749e06042
12 changed files with 233 additions and 136 deletions

View File

@@ -36,5 +36,6 @@ services:
- '@mimetype.guesser'
- '@dispatcher'
- '@plupload'
- '@storage.attachment'
- '@user'
- '%core.root_path%'

View File

@@ -1,6 +1,14 @@
services:
# Storages
storage.attachment:
class: phpbb\storage\storage
arguments:
- '@storage.adapter.factory'
- 'attachment'
tags:
- { name: storage }
storage.avatar:
class: phpbb\storage\storage
arguments: