mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01: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
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))
|
||||
{
|
||||
return array();
|
||||
return $parsed_array;
|
||||
}
|
||||
|
||||
if (!isset($parsed_array['filetime']) || (($config['load_tplcompile'] && @filemtime($filename) > $parsed_array['filetime'])))
|
||||
|
Loading…
x
Reference in New Issue
Block a user