mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/template-engine] Clean up template locator usage in bbcode.
PHPBB3-9726
This commit is contained in:
parent
fb8a1d999f
commit
7cfd4052c5
1 changed files with 2 additions and 3 deletions
|
@ -136,9 +136,8 @@ class bbcode
|
||||||
$template_locator = new phpbb_template_locator();
|
$template_locator = new phpbb_template_locator();
|
||||||
$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator);
|
$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator);
|
||||||
$template->set_template();
|
$template->set_template();
|
||||||
$locator = $template->_get_locator();
|
$template_locator->set_filenames(array('bbcode.html' => 'bbcode.html'));
|
||||||
$locator->set_filenames(array('bbcode.html' => 'bbcode.html'));
|
$this->template_filename = $template_locator->get_source_file_for_handle('bbcode.html');
|
||||||
$this->template_filename = $locator->get_source_file_for_handle('bbcode.html');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$bbcode_ids = $rowset = $sql = array();
|
$bbcode_ids = $rowset = $sql = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue