diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-09-04 16:45:53 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-09-04 23:21:55 +0200 |
commit | cb3eb84665db10e6fe55e11e694d39e742f313a4 (patch) | |
tree | 436bb37e278805f1dafc7ca95c82fbd93ceef8e6 /tests/mock | |
parent | 10c99b3c2b92206840e6c3048fea4bd273f53472 (diff) | |
download | forums-cb3eb84665db10e6fe55e11e694d39e742f313a4.tar forums-cb3eb84665db10e6fe55e11e694d39e742f313a4.tar.gz forums-cb3eb84665db10e6fe55e11e694d39e742f313a4.tar.bz2 forums-cb3eb84665db10e6fe55e11e694d39e742f313a4.tar.xz forums-cb3eb84665db10e6fe55e11e694d39e742f313a4.zip |
[ticket/13034] Fix the route generated for the frontend not in the phpbb root
PHPBB3-13034
Diffstat (limited to 'tests/mock')
-rw-r--r-- | tests/mock/controller_helper.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mock/controller_helper.php b/tests/mock/controller_helper.php index f9d231258e..fd49f4bdc8 100644 --- a/tests/mock/controller_helper.php +++ b/tests/mock/controller_helper.php @@ -13,11 +13,12 @@ class phpbb_mock_controller_helper extends \phpbb\controller\helper { - public function __construct(\phpbb\template\template $template, \phpbb\user $user, \phpbb\config\config $config, \phpbb\controller\provider $provider, \phpbb\extension\manager $manager, $phpbb_root_path, $php_ext, $phpbb_root_path_ext) + public function __construct(\phpbb\template\template $template, \phpbb\user $user, \phpbb\config\config $config, \phpbb\controller\provider $provider, \phpbb\extension\manager $manager, \phpbb\symfony_request $symfony_request, $phpbb_root_path, $php_ext, $phpbb_root_path_ext) { $this->template = $template; $this->user = $user; $this->config = $config; + $this->symfony_request = $symfony_request; $this->phpbb_root_path = $phpbb_root_path; $this->php_ext = $php_ext; $provider->find_routing_files($manager->get_finder()); |