From 60372b43c2995ec82051c235587ddfff2501f620 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Tue, 9 Aug 2011 23:28:56 -0400 Subject: [PATCH] [feature/template-engine] Update installer for template engine changes. PHPBB3-9726 --- phpBB/install/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 15f8c670a4..0d1f2e1312 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -261,7 +261,6 @@ set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handle $user = new user(); $auth = new auth(); -$template = new phpbb_template(); // Add own hook handler, if present. :o if (file_exists($phpbb_root_path . 'includes/hooks/index.' . $phpEx)) @@ -284,6 +283,8 @@ $config = new phpbb_config(array( 'load_tplcompile' => '1' )); +$template_locator = new phpbb_template_locator(); +$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator); $template->set_custom_template('../adm/style', 'admin'); $template->assign_var('T_TEMPLATE_PATH', '../adm/style');