aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/app.php')
-rw-r--r--phpBB/app.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/app.php b/phpBB/app.php
index 13bf3f0be1..c085f966c8 100644
--- a/phpBB/app.php
+++ b/phpBB/app.php
@@ -7,8 +7,6 @@
*
*/
-use Symfony\Component\HttpFoundation\Request;
-
/**
*/
@@ -28,9 +26,9 @@ $user->setup('app');
// Until we fix the issue with relative paths, we have to fake path info to
// allow urls like app.php?controller=foo/bar
-$controller = $request->variable('controller', '', false, phpbb_request_interface::GET);
+$controller = $request->variable('controller', '');
$uri = '/' . $controller;
-$symfony_request = Request::create($uri);
+$symfony_request = phpbb_create_symfony_request($uri, $request);
$http_kernel = $phpbb_container->get('http_kernel');
$response = $http_kernel->handle($symfony_request);