[ticket/12480] Only load config/routing.yml from extensions route

PHPBB3-12480
This commit is contained in:
Joas Schilling 2014-05-02 22:35:36 +02:00
parent 603c3b4629
commit 10b23612e3

View file

@ -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()
));