1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +02:00

[feature/extension-manager] Make sure named styles are loaded from root dir

PHPBB3-10323
This commit is contained in:
Nils Adermann
2011-09-01 15:16:21 -04:00
parent 4d08d769c2
commit e52022c572
4 changed files with 12 additions and 6 deletions

View File

@@ -91,11 +91,13 @@ class phpbb_template_extension_path_provider extends phpbb_extension_provider im
* The first element is the main template.
* If the path is false, it will be generated from
* the supplied name.
* @param string $style_root_path The root directory for styles identified
* by name only.
* @return null
*/
public function set_templates(array $templates)
public function set_templates(array $templates, $style_root_path)
{
$this->base_paths->set_templates($templates);
$this->base_paths->set_templates($templates, $style_root_path);
$this->items = null;
}