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

[ticket/12529] Move $phpbb_root_path to the end of the constructor

PHPBB3-12529
This commit is contained in:
Tristan Darricau
2014-05-11 15:10:14 +02:00
parent 197c801746
commit 16cd1db59a
3 changed files with 7 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ class phpbb_controller_controller_test extends phpbb_test_case
include(__DIR__.'/phpbb/controller/foo.php');
}
$resolver = new \phpbb\controller\resolver(new \phpbb\user, dirname(__FILE__) . '/', $container);
$resolver = new \phpbb\controller\resolver(new \phpbb\user, $container, dirname(__FILE__) . '/');
$symfony_request = new Request();
$symfony_request->attributes->set('_controller', 'foo.controller:handle');