mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge pull request #2905 from Nicofuma/ticket/13008
[ticket/13008] Use an absolute path with the FileLocator for the routing files * Nicofuma/ticket/13008: [ticket/13008] Add functionnal test [ticket/13008] Use an absolute path with the FileLocator for the routing files
This commit is contained in:
@@ -73,7 +73,7 @@ class provider
|
||||
$this->routes = new RouteCollection;
|
||||
foreach ($this->routing_files as $file_path)
|
||||
{
|
||||
$loader = new YamlFileLoader(new FileLocator($base_path));
|
||||
$loader = new YamlFileLoader(new FileLocator(phpbb_realpath($base_path)));
|
||||
$this->routes->addCollection($loader->load($file_path));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user