mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13008] Use an absolute path with the FileLocator for the routing files
PHPBB3-13008
This commit is contained in:
parent
d2ed2c4e1e
commit
03b9eb5dcb
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class provider
|
||||||
$this->routes = new RouteCollection;
|
$this->routes = new RouteCollection;
|
||||||
foreach ($this->routing_files as $file_path)
|
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));
|
$this->routes->addCollection($loader->load($file_path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue