From 3dc73485ee5f5a45abf761c70db72d64b95a54cf Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 11 Sep 2014 21:37:56 +0200 Subject: [PATCH] [ticket/13056] Move the arguments of the request class to the DI PHPBB3-13056 --- phpBB/config/parameters.yml | 1 + phpBB/config/services.yml | 3 +++ 2 files changed, 4 insertions(+) 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