aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_messenger.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-01 10:34:06 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-12 21:35:06 +0200
commit6a3d77d76e9a6ee17acbd29da8486742f60a2514 (patch)
tree067db6bb17d029b8c34047427b9ae46fc8a9c17f /phpBB/includes/functions_messenger.php
parentc25dfef770e440dec9f1d1eeb71e5ef8c3ffbb66 (diff)
downloadforums-6a3d77d76e9a6ee17acbd29da8486742f60a2514.tar
forums-6a3d77d76e9a6ee17acbd29da8486742f60a2514.tar.gz
forums-6a3d77d76e9a6ee17acbd29da8486742f60a2514.tar.bz2
forums-6a3d77d76e9a6ee17acbd29da8486742f60a2514.tar.xz
forums-6a3d77d76e9a6ee17acbd29da8486742f60a2514.zip
[ticket/10844] Add phpbb_root_path to phpbb_style_extension_path_provider
The phpbb_root_path needs to be removed from the style path, before giving the path to the finder, because the finder prepends it later again and is therefor unable to find style files when the root path is not ./ PHPBB3-10844
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r--phpBB/includes/functions_messenger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index 821f0d970d..e580f6b675 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -209,7 +209,7 @@ class messenger
if (!isset($this->tpl_msg[$template_lang . $template_file]))
{
$style_resource_locator = new phpbb_style_resource_locator();
- $style_path_provider = new phpbb_style_extension_path_provider($phpbb_extension_manager, new phpbb_style_path_provider());
+ $style_path_provider = new phpbb_style_extension_path_provider($phpbb_extension_manager, new phpbb_style_path_provider(), $phpbb_root_path);
$tpl = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, new phpbb_template_context(), $phpbb_extension_manager);
$style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, $style_path_provider, $tpl);