mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11029] Return $parsed_array (may have loaded from the cache)
Even if the file does not exist, it may be in the cache, so return $parsed_array just in case PHPBB3-11029
This commit is contained in:
parent
2c1da15ae8
commit
907f1771f9
1 changed files with 1 additions and 1 deletions
2
phpBB/includes/cache/service.php
vendored
2
phpBB/includes/cache/service.php
vendored
|
@ -337,7 +337,7 @@ class phpbb_cache_service
|
||||||
|
|
||||||
if (!file_exists($filename))
|
if (!file_exists($filename))
|
||||||
{
|
{
|
||||||
return array();
|
return $parsed_array;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($parsed_array['filetime']) || (($config['load_tplcompile'] && @filemtime($filename) > $parsed_array['filetime'])))
|
if (!isset($parsed_array['filetime']) || (($config['load_tplcompile'] && @filemtime($filename) > $parsed_array['filetime'])))
|
||||||
|
|
Loading…
Add table
Reference in a new issue