mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[feature/merging-style-components] Updating style initialization
Changing template initialization to style initialization. PHPBB3-10632
This commit is contained in:
@@ -202,9 +202,9 @@ $config = new phpbb_config(array(
|
||||
));
|
||||
|
||||
$style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, false);
|
||||
$style->set_ext_dir_prefix('adm/');
|
||||
$style->set_custom_style('admin', '../adm/style', '');
|
||||
$template = $style->template;
|
||||
$template->set_ext_dir_prefix('adm/');
|
||||
$template->set_custom_template('../adm/style', 'admin');
|
||||
$template->assign_var('T_ASSETS_PATH', '../assets');
|
||||
$template->assign_var('T_TEMPLATE_PATH', '../adm/style');
|
||||
|
||||
|
Reference in New Issue
Block a user