diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/config/services.yml | 2 | ||||
-rw-r--r-- | phpBB/phpbb/controller/helper.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml index e474c51ae0..2cf9dbed3e 100644 --- a/phpBB/config/services.yml +++ b/phpBB/config/services.yml @@ -109,6 +109,8 @@ services: class: phpbb\controller\provider arguments: - @ext.finder + calls: + - [find, [%core.root_path%]] cron.task_collection: class: phpbb\di\service_collection diff --git a/phpBB/phpbb/controller/helper.php b/phpBB/phpbb/controller/helper.php index 2d11a54c08..10fdbb1375 100644 --- a/phpBB/phpbb/controller/helper.php +++ b/phpBB/phpbb/controller/helper.php @@ -66,7 +66,7 @@ class helper $this->config = $config; $this->phpbb_root_path = $phpbb_root_path; $this->php_ext = $php_ext; - $this->route_collection = $provider->find($this->phpbb_root_path)->get_routes(); + $this->route_collection = $provider->get_routes(); } /** |