aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template/template.php')
-rw-r--r--phpBB/includes/template/template.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php
index 71fecc7d26..80052ba59a 100644
--- a/phpBB/includes/template/template.php
+++ b/phpBB/includes/template/template.php
@@ -105,13 +105,7 @@ class phpbb_template
$fallback_template_path = null;
}
- $this->locator->set_custom_template($template_root, $fallback_template_path);
-
- $this->cachepath = $this->phpbb_root_path . 'cache/tpl_' . str_replace('_', '-', $style_name) . '_';
-
- $this->context = new phpbb_template_context();
-
- return true;
+ return $this->locator->set_custom_template($template_root, $fallback_template_path);
}
/**