mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11199] Purge dumped container correctly on cache purge.
This patch changes the dumped container suffix to a prefix instead which makes the existing code for purging 'cache/container_*' files work as intended. PHPBB3-11199
This commit is contained in:
parent
56b7ba2085
commit
73ce1a5a97
1 changed files with 1 additions and 1 deletions
|
@ -133,5 +133,5 @@ function phpbb_create_dumped_container_unless_debug(array $extensions, array $pa
|
||||||
function phpbb_container_filename($phpbb_root_path, $php_ext)
|
function phpbb_container_filename($phpbb_root_path, $php_ext)
|
||||||
{
|
{
|
||||||
$filename = str_replace(array('/', '.'), array('slash', 'dot'), $phpbb_root_path);
|
$filename = str_replace(array('/', '.'), array('slash', 'dot'), $phpbb_root_path);
|
||||||
return $phpbb_root_path . 'cache/' . $filename . '_container.' . $php_ext;
|
return $phpbb_root_path . 'cache/container_' . $filename . '.' . $php_ext;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue