mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02: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:
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'])))
|
||||
|
Reference in New Issue
Block a user