diff options
| author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-08-09 23:28:40 -0400 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-08-09 23:28:40 -0400 |
| commit | acb767f14d6300ebff793f87b1a62ebbb4bde82a (patch) | |
| tree | 0715813b866c3635ec637d6779a019601c136bfa /phpBB/common.php | |
| parent | 66232035aa1e0d81d5c8f141b45521998cd7207e (diff) | |
| download | forums-acb767f14d6300ebff793f87b1a62ebbb4bde82a.tar forums-acb767f14d6300ebff793f87b1a62ebbb4bde82a.tar.gz forums-acb767f14d6300ebff793f87b1a62ebbb4bde82a.tar.bz2 forums-acb767f14d6300ebff793f87b1a62ebbb4bde82a.tar.xz forums-acb767f14d6300ebff793f87b1a62ebbb4bde82a.zip | |
[feature/template-engine] Dependency inject locator into template.
PHPBB3-9726
Diffstat (limited to 'phpBB/common.php')
| -rw-r--r-- | phpBB/common.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 67fb5cf6ae..f206dc70fd 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -224,7 +224,8 @@ $config = new phpbb_config_db($db, $cache->get_driver(), CONFIG_TABLE); set_config(null, null, null, $config); set_config_count(null, null, null, $config); -$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user); +$template_locator = new phpbb_template_locator(); +$template = new phpbb_template($phpbb_root_path, $phpEx, $config, $user, $template_locator); // Add own hook handler require($phpbb_root_path . 'includes/hooks/index.' . $phpEx); |
