aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-19 16:39:17 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-09 09:46:10 +0200
commite50718008a44953181e133de1e37304ed6a5994f (patch)
treed49a56754d90f103854afae1ef67e00461386cc7 /phpBB/config
parent73fd3d1df807fd2c367d26b1de7c85bc657b74ce (diff)
downloadforums-e50718008a44953181e133de1e37304ed6a5994f.tar
forums-e50718008a44953181e133de1e37304ed6a5994f.tar.gz
forums-e50718008a44953181e133de1e37304ed6a5994f.tar.bz2
forums-e50718008a44953181e133de1e37304ed6a5994f.tar.xz
forums-e50718008a44953181e133de1e37304ed6a5994f.zip
[ticket/14168] Add attachment upload class
PHPBB3-14168
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/default/container/services_files.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml
index cfdade37df..82e2a2e08f 100644
--- a/phpBB/config/default/container/services_files.yml
+++ b/phpBB/config/default/container/services_files.yml
@@ -1,4 +1,19 @@
services:
+ attachment.upload:
+ class: phpbb\attachment\upload
+ scope: prototype
+ arguments:
+ - @auth
+ - @cache
+ - @config
+ - @files.upload
+ - @language
+ - @mimetype.guesser
+ - @dispatcher
+ - @plupload
+ - @user
+ - %core.root_path%
+
filesystem:
class: phpbb\filesystem\filesystem