Skip to content

Commit

Permalink
[feature/template-engine] Update installer for template engine changes.
Browse files Browse the repository at this point in the history
PHPBB3-9726
  • Loading branch information
p committed Aug 10, 2011
1 parent acb767f commit 60372b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpBB/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ function deregister_globals()

$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))
Expand All @@ -284,6 +283,8 @@ function deregister_globals()
'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');

Expand Down

0 comments on commit 60372b4

Please sign in to comment.