diff options
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r-- | phpBB/includes/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 9e0ff6c02a..814d6d2e50 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -67,7 +67,7 @@ class template public function set_custom_template($template_path, $template_name) { $this->root = $template_path; - $this->cachepath = PHPBB_ROOT_PATH . 'cache/ctpl_' . $template_name . '_'; + $this->cachepath = PHPBB_ROOT_PATH . 'cache/ctpl_' . str_replace('_', '-', $template_name) . '_'; return true; } @@ -174,7 +174,7 @@ class template } else { - // if we could not eval AND the file exists, something horrific has occured + // if we could not eval AND the file exists, something horrific has occured return false; } |