1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/14285] Move downloads to controller

PHPBB3-14285
This commit is contained in:
Rubén Calvo
2018-06-29 18:00:11 +02:00
committed by rubencm
parent e159bef055
commit dd06933324
8 changed files with 479 additions and 367 deletions

View File

@@ -82,3 +82,22 @@ services:
arguments:
tags:
- { name: storage.provider }
# Controllers
storage.controller.avatar:
class: phpbb\storage\controller\avatar
arguments:
- '@config'
- '@storage.avatar'
storage.controller.attachment:
class: phpbb\storage\controller\attachment
arguments:
- '@auth'
- '@cache'
- '@config'
- '@dbal.conn'
- '@dispatcher'
- '@request'
- '@storage.attachment'
- '@user'