From 03b9eb5dcb0a12b24aedcf7140e8bf068c427df5 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 23 Aug 2014 12:34:23 +0200 Subject: [PATCH] [ticket/13008] Use an absolute path with the FileLocator for the routing files PHPBB3-13008 --- phpBB/phpbb/controller/provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }