aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/controller/provider.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-08-24 22:32:54 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-08-24 22:32:54 +0200
commit9fc5073540fe23c0b32d6eac667560f1b7204b50 (patch)
treedb6f81ad7cf6662ee35e3b4f177ba376d144f749 /phpBB/phpbb/controller/provider.php
parent154710aa50f8277c72958f181c676d9d0d72317d (diff)
parent0386b1788a56ef36c435796c74924d35331a1779 (diff)
downloadforums-9fc5073540fe23c0b32d6eac667560f1b7204b50.tar
forums-9fc5073540fe23c0b32d6eac667560f1b7204b50.tar.gz
forums-9fc5073540fe23c0b32d6eac667560f1b7204b50.tar.bz2
forums-9fc5073540fe23c0b32d6eac667560f1b7204b50.tar.xz
forums-9fc5073540fe23c0b32d6eac667560f1b7204b50.zip
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
Diffstat (limited to 'phpBB/phpbb/controller/provider.php')
-rw-r--r--phpBB/phpbb/controller/provider.php2
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));
}