aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-09-15 22:42:38 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-09-15 22:42:38 +0200
commit720561de6e6284455342ae7d04c8a656f9f455f9 (patch)
tree9a207d0b5fb73ee2639c15a756d79a37dcb0570c
parentf807b82162feadfd2631849dd26a66645667e60f (diff)
parent3dc73485ee5f5a45abf761c70db72d64b95a54cf (diff)
downloadforums-720561de6e6284455342ae7d04c8a656f9f455f9.tar
forums-720561de6e6284455342ae7d04c8a656f9f455f9.tar.gz
forums-720561de6e6284455342ae7d04c8a656f9f455f9.tar.bz2
forums-720561de6e6284455342ae7d04c8a656f9f455f9.tar.xz
forums-720561de6e6284455342ae7d04c8a656f9f455f9.zip
Merge pull request #2943 from Nicofuma/ticket/13056
[ticket/13056] Move the arguments of the request class to the DI * Nicofuma/ticket/13056: [ticket/13056] Move the arguments of the request class to the DI
-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