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:
@@ -36,5 +36,6 @@ services:
|
||||
- '@mimetype.guesser'
|
||||
- '@dispatcher'
|
||||
- '@plupload'
|
||||
- '@storage.attachment'
|
||||
- '@user'
|
||||
- '%core.root_path%'
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user