1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13513] Use paths relative to the phpBB root in the router

PHPBB3-13513
This commit is contained in:
Tristan Darricau
2015-01-17 11:05:18 +01:00
parent 0344e61b8c
commit 6842831d6b
5 changed files with 21 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ class phpbb_pagination_pagination_test extends phpbb_template_template_test_case
$this->config = new \phpbb\config\config(array('enable_mod_rewrite' => '1'));
$router = new phpbb_mock_router($manager, dirname(__FILE__) . '/', 'php', PHPBB_ENVIRONMENT);
$router->find_routing_files($manager->all_enabled());
$router->find_routing_files($manager->all_enabled(false));
$router->find(dirname(__FILE__) . '/');
$request = new phpbb_mock_request();