diff options
| author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-08-09 23:28:56 -0400 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-08-09 23:28:56 -0400 |
| commit | 60372b43c2995ec82051c235587ddfff2501f620 (patch) | |
| tree | c625bcc0ed64bc3ad4a63fd4b360fef2b202d372 | |
| parent | acb767f14d6300ebff793f87b1a62ebbb4bde82a (diff) | |
| download | forums-60372b43c2995ec82051c235587ddfff2501f620.tar forums-60372b43c2995ec82051c235587ddfff2501f620.tar.gz forums-60372b43c2995ec82051c235587ddfff2501f620.tar.bz2 forums-60372b43c2995ec82051c235587ddfff2501f620.tar.xz forums-60372b43c2995ec82051c235587ddfff2501f620.zip | |
[feature/template-engine] Update installer for template engine changes.
PHPBB3-9726
| -rw-r--r-- | phpBB/install/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'); |
