diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-12 13:29:57 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-06-12 13:29:57 -0500 |
commit | 38d8025f123bed57bf5b75164fc25707b4dd462d (patch) | |
tree | cc385e34ed385ed75fb4776dc21e5a8d41f44b86 /phpBB/includes/bbcode.php | |
parent | fa86f45f62b52a9eed63e9be5cde9dedf8ea1d0e (diff) | |
download | forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar.gz forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar.bz2 forums-38d8025f123bed57bf5b75164fc25707b4dd462d.tar.xz forums-38d8025f123bed57bf5b75164fc25707b4dd462d.zip |
[feature/twig] Use phpbb_template_twig in tests
Replace all new phpbb_template( with new phpbb_template_twig(
PHPBB3-11598
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r-- | phpBB/includes/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index c198abeb54..5a4161bb6c 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -134,7 +134,7 @@ class bbcode $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(), $phpbb_root_path); - $template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $style_resource_locator, new phpbb_template_context(), $phpbb_extension_manager); + $template = new phpbb_template_twig($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, $template); $style->set_style(); $template->set_filenames(array('bbcode.html' => 'bbcode.html')); |