mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/merging-style-components] Updating style initialization
Changing template initialization to style initialization. PHPBB3-10632
This commit is contained in:
@@ -71,7 +71,7 @@ class install_update extends module
|
||||
|
||||
function main($mode, $sub)
|
||||
{
|
||||
global $template, $phpEx, $phpbb_root_path, $user, $db, $config, $cache, $auth, $language;
|
||||
global $style, $template, $phpEx, $phpbb_root_path, $user, $db, $config, $cache, $auth, $language;
|
||||
global $request;
|
||||
|
||||
$this->tpl_name = 'install_update';
|
||||
@@ -131,7 +131,7 @@ class install_update extends module
|
||||
}
|
||||
|
||||
// Set custom template again. ;)
|
||||
$template->set_custom_template('../adm/style', 'admin');
|
||||
$style->set_custom_style('admin', '../adm/style', '');
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_USER_LANG' => $user->lang['USER_LANG'],
|
||||
|
Reference in New Issue
Block a user