mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[feature/merging-style-components] Updating style initialization
Changing template initialization to style initialization. PHPBB3-10632
This commit is contained in:
@@ -133,8 +133,8 @@ class bbcode
|
||||
$this->template_bitfield = new bitfield($user->theme['bbcode_bitfield']);
|
||||
|
||||
$style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $phpbb_extension_manager);
|
||||
$style->set_style();
|
||||
$template = $style->template;
|
||||
$template->set_template();
|
||||
$template->set_filenames(array('bbcode.html' => 'bbcode.html'));
|
||||
$this->template_filename = $style->locator->get_source_file_for_handle('bbcode.html');
|
||||
}
|
||||
|
Reference in New Issue
Block a user