diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-03 14:00:47 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-03 14:00:47 +0200 |
commit | 8d9133a30e576d9f4315bc914b56c7be5481ebf4 (patch) | |
tree | 5bc5afef2e520f5af518f241f98303027e245c3e /phpBB/phpbb/controller | |
parent | 0d893d65eb2823aae449a9201941798e450a9be1 (diff) | |
download | forums-8d9133a30e576d9f4315bc914b56c7be5481ebf4.tar forums-8d9133a30e576d9f4315bc914b56c7be5481ebf4.tar.gz forums-8d9133a30e576d9f4315bc914b56c7be5481ebf4.tar.bz2 forums-8d9133a30e576d9f4315bc914b56c7be5481ebf4.tar.xz forums-8d9133a30e576d9f4315bc914b56c7be5481ebf4.zip |
[ticket/11497] Use a mock object to define the root folder for the finder
PHPBB3-11497
Diffstat (limited to 'phpBB/phpbb/controller')
-rw-r--r-- | phpBB/phpbb/controller/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/controller/helper.php b/phpBB/phpbb/controller/helper.php index ab3e3b3556..9f1a3864ef 100644 --- a/phpBB/phpbb/controller/helper.php +++ b/phpBB/phpbb/controller/helper.php @@ -68,7 +68,7 @@ class helper $this->phpbb_root_path = $phpbb_root_path; $this->php_ext = $php_ext; $provider->set_ext_finder($manager->get_finder()); - $this->route_collection = $provider->find('./')->get_routes(); + $this->route_collection = $provider->find($phpbb_root_path)->get_routes(); } /** |