mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/extension-manager] Refactoring the structure of extension provider
PHPBB3-10323
This commit is contained in:
@@ -134,7 +134,7 @@ class bbcode
|
||||
$this->template_bitfield = new bitfield($user->theme['bbcode_bitfield']);
|
||||
|
||||
$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());
|
||||
$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator, $template_path_provider);
|
||||
$template->set_template();
|
||||
$template_locator->set_filenames(array('bbcode.html' => 'bbcode.html'));
|
||||
|
Reference in New Issue
Block a user