mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/merging-style-components] Initializing locator and provider separately
Moving locator and path provider initialization out of style class PHPBB3-10632
This commit is contained in:
@@ -202,7 +202,9 @@ $config = new phpbb_config(array(
|
||||
'load_tplcompile' => '1'
|
||||
));
|
||||
|
||||
$style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, false);
|
||||
$phpbb_style_resource_locator = new phpbb_style_resource_locator();
|
||||
$phpbb_style_path_provider = new phpbb_style_path_provider();
|
||||
$style = new phpbb_style($phpbb_root_path, $phpEx, $config, $user, $phpbb_style_resource_locator, $phpbb_style_path_provider);
|
||||
$style->set_ext_dir_prefix('adm/');
|
||||
$style->set_custom_style('admin', '../adm/style', '');
|
||||
$template = $style->template;
|
||||
|
Reference in New Issue
Block a user