aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2011-09-21 13:17:10 +0100
committerChris Smith <toonarmy@phpbb.com>2011-09-21 13:17:10 +0100
commit25aee49ca510a4b209130d8e39d6d3f614a6ad7b (patch)
tree371976d6a5d164db35dabba35d7da2cc4bea39f6
parentfab0ec64b383c672e91db8524a225671795d4805 (diff)
downloadforums-25aee49ca510a4b209130d8e39d6d3f614a6ad7b.tar
forums-25aee49ca510a4b209130d8e39d6d3f614a6ad7b.tar.gz
forums-25aee49ca510a4b209130d8e39d6d3f614a6ad7b.tar.bz2
forums-25aee49ca510a4b209130d8e39d6d3f614a6ad7b.tar.xz
forums-25aee49ca510a4b209130d8e39d6d3f614a6ad7b.zip
[ticket/10375] Use existing method to generate cache file name.
PHPBB3-10375
-rw-r--r--phpBB/includes/template/template.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php
index 0495ade9c5..d1aa67038c 100644
--- a/phpBB/includes/template/template.php
+++ b/phpBB/includes/template/template.php
@@ -307,10 +307,9 @@ class phpbb_template
*/
private function _tpl_load($handle)
{
- $virtual_source_file = $this->locator->get_virtual_source_file_for_handle($handle);
$source_file = null;
- $compiled_path = $this->cachepath . str_replace('/', '.', $virtual_source_file) . '.' . $this->phpEx;
+ $compiled_path = $this->_compiled_file_for_handle($handle);
$recompile = defined('DEBUG_EXTRA') ||
!file_exists($compiled_path) ||