aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/controller
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-03 14:00:47 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-03 14:00:47 +0200
commit8d9133a30e576d9f4315bc914b56c7be5481ebf4 (patch)
tree5bc5afef2e520f5af518f241f98303027e245c3e /phpBB/phpbb/controller
parent0d893d65eb2823aae449a9201941798e450a9be1 (diff)
downloadforums-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.php2
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();
}
/**