1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[feature/extension-manager] Refactoring the structure of extension provider

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-08-31 17:49:48 -04:00
parent 52f5fa796f
commit 520a5f9295
13 changed files with 198 additions and 75 deletions

View File

@@ -194,7 +194,7 @@ class messenger
if (!isset($this->tpl_msg[$template_lang . $template_file]))
{
$template_locator = new phpbb_template_locator();
$template_path_provider = new phpbb_template_path_provider($phpbb_extension_manager);
$template_path_provider = new phpbb_template_extension_path_provider($phpbb_extension_manager, new phpbb_template_path_provider());
$this->tpl_msg[$template_lang . $template_file] = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator, $template_path_provider);
$tpl = &$this->tpl_msg[$template_lang . $template_file];