aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-09-11 21:37:56 +0200
committerTristan Darricau <github@nicofuma.fr>2014-09-13 14:22:55 +0200
commit3dc73485ee5f5a45abf761c70db72d64b95a54cf (patch)
tree556ce94fd929e3601266497a17356d84c3dedb35 /phpBB
parent7d6ceb81c1891ad1cfe518b7f2f0cc62968ad21e (diff)
downloadforums-3dc73485ee5f5a45abf761c70db72d64b95a54cf.tar
forums-3dc73485ee5f5a45abf761c70db72d64b95a54cf.tar.gz
forums-3dc73485ee5f5a45abf761c70db72d64b95a54cf.tar.bz2
forums-3dc73485ee5f5a45abf761c70db72d64b95a54cf.tar.xz
forums-3dc73485ee5f5a45abf761c70db72d64b95a54cf.zip
[ticket/13056] Move the arguments of the request class to the DI
PHPBB3-13056
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/config/parameters.yml1
-rw-r--r--phpBB/config/services.yml3
2 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/config/parameters.yml b/phpBB/config/parameters.yml
index 5bf2c678ee..b076ea3ecb 100644
--- a/phpBB/config/parameters.yml
+++ b/phpBB/config/parameters.yml
@@ -1,2 +1,3 @@
parameters:
+ core.disable_super_globals: true
datetime.class: \phpbb\datetime
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml
index a588046245..33f249aa13 100644
--- a/phpBB/config/services.yml
+++ b/phpBB/config/services.yml
@@ -328,6 +328,9 @@ services:
request:
class: phpbb\request\request
+ arguments:
+ - null
+ - %core.disable_super_globals%
symfony_request:
class: phpbb\symfony_request