1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11628] Remove template_path option on set_custom_style

This was set to default 'template/' to append template/ to all the paths,
but every location was actually just setting it to '' to not append anything.
So removed the option entirely (additional paths can be appended to the paths
being sent to the function already)

PHPBB3-11628
This commit is contained in:
Nathaniel Guse
2013-07-24 13:25:20 -05:00
parent 863592a8be
commit 12c2258506
13 changed files with 15 additions and 23 deletions

View File

@@ -660,7 +660,7 @@ class messenger
{
$this->setup_template();
$this->template->set_custom_style($path_name, $paths, '');
$this->template->set_custom_style($path_name, $paths);
}
}

View File

@@ -508,7 +508,7 @@ class p_master
if (is_dir($module_style_dir))
{
$template->set_custom_style('admin', array($module_style_dir, $phpbb_admin_path . 'style'), '');
$template->set_custom_style('admin', array($module_style_dir, $phpbb_admin_path . 'style'));
}
}