1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[feature/controller] Use query string, not path info, for controller access

This is hopefully just temporary until we can fix the relative path issue.

PHPBB3-10864
This commit is contained in:
David King
2012-11-17 17:48:20 -05:00
parent 4efbb893b7
commit 8913b2c7c4
3 changed files with 9 additions and 22 deletions

View File

@@ -8,8 +8,6 @@
* Minimum Requirement: PHP 5.3.3
*/
use Symfony\Component\HttpFoundation\Request;
/**
*/
if (!defined('IN_PHPBB'))
@@ -105,11 +103,6 @@ $phpbb_class_loader_ext->set_cache($phpbb_container->get('cache.driver'));
// set up caching
$cache = $phpbb_container->get('cache');
// Instantiate the Symfony Request object
// This must be done before phpbb_request
// because otherwise globals are disabled
$symfony_request = Request::createFromGlobals();
// Instantiate some basic classes
$phpbb_dispatcher = $phpbb_container->get('dispatcher');
$request = $phpbb_container->get('request');