diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-08-23 12:34:23 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-08-23 12:34:23 +0200 |
commit | 03b9eb5dcb0a12b24aedcf7140e8bf068c427df5 (patch) | |
tree | 276bc85be6cce71ebc81de546eca80ace9acd0c8 /phpBB/phpbb/controller/provider.php | |
parent | d2ed2c4e1e87a8cf84454d04190a44e78a832d04 (diff) | |
download | forums-03b9eb5dcb0a12b24aedcf7140e8bf068c427df5.tar forums-03b9eb5dcb0a12b24aedcf7140e8bf068c427df5.tar.gz forums-03b9eb5dcb0a12b24aedcf7140e8bf068c427df5.tar.bz2 forums-03b9eb5dcb0a12b24aedcf7140e8bf068c427df5.tar.xz forums-03b9eb5dcb0a12b24aedcf7140e8bf068c427df5.zip |
[ticket/13008] Use an absolute path with the FileLocator for the routing files
PHPBB3-13008
Diffstat (limited to 'phpBB/phpbb/controller/provider.php')
-rw-r--r-- | phpBB/phpbb/controller/provider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/controller/provider.php b/phpBB/phpbb/controller/provider.php index fffd4f0428..7e26848290 100644 --- a/phpBB/phpbb/controller/provider.php +++ b/phpBB/phpbb/controller/provider.php @@ -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)); } |