mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/10375] Use existing method to generate cache file name.
PHPBB3-10375
This commit is contained in:
@@ -307,10 +307,9 @@ class phpbb_template
|
|||||||
*/
|
*/
|
||||||
private function _tpl_load($handle)
|
private function _tpl_load($handle)
|
||||||
{
|
{
|
||||||
$virtual_source_file = $this->locator->get_virtual_source_file_for_handle($handle);
|
|
||||||
$source_file = null;
|
$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') ||
|
$recompile = defined('DEBUG_EXTRA') ||
|
||||||
!file_exists($compiled_path) ||
|
!file_exists($compiled_path) ||
|
||||||
|
Reference in New Issue
Block a user