mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[feature/template-engine] Delete $style_name param from locator's set_custom_template.
This parameter was unused, it was only used by template's set_custom_template to determine cache file prefix. PHPBB3-9726
This commit is contained in:
@@ -114,10 +114,9 @@ class phpbb_template_locator
|
||||
* Note: Templates are still compiled to phpBB's cache directory.
|
||||
*
|
||||
* @param string $template_path Path to template directory
|
||||
* @param string $template_name Name of template
|
||||
* @param string|bool $fallback_template_path Path to fallback template, or false to disable fallback
|
||||
*/
|
||||
public function set_custom_template($template_path, $template_name, $fallback_template_path = false)
|
||||
public function set_custom_template($template_path, $fallback_template_path = false)
|
||||
{
|
||||
// Make sure $template_path has no ending slash
|
||||
if (substr($template_path, -1) == '/')
|
||||
|
Reference in New Issue
Block a user