From 10b23612e3df9b9efe901c6362b221e432c14791 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 2 May 2014 22:35:36 +0200 Subject: [PATCH] [ticket/12480] Only load config/routing.yml from extensions route PHPBB3-12480 --- phpBB/phpbb/controller/provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/controller/provider.php b/phpBB/phpbb/controller/provider.php index 9df8130210..2c7493f64c 100644 --- a/phpBB/phpbb/controller/provider.php +++ b/phpBB/phpbb/controller/provider.php @@ -46,7 +46,7 @@ class provider // We hardcode the path to the core config directory // because the finder cannot find it $this->routing_files = array_merge($this->routing_files, array('config/routing.yml'), array_keys($finder - ->directory('config') + ->directory('/config') ->suffix('routing.yml') ->find() ));