aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-11-15 01:56:33 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-11-15 01:56:33 +0100
commit73ce1a5a976f3f1634e9aeffa8fbe79378870c71 (patch)
treec0a718d0fd334466f1b38d9bf94d6b5b288e2ff2 /phpBB
parent56b7ba2085ce603005127443cfb9c93ae05fcebb (diff)
downloadforums-73ce1a5a976f3f1634e9aeffa8fbe79378870c71.tar
forums-73ce1a5a976f3f1634e9aeffa8fbe79378870c71.tar.gz
forums-73ce1a5a976f3f1634e9aeffa8fbe79378870c71.tar.bz2
forums-73ce1a5a976f3f1634e9aeffa8fbe79378870c71.tar.xz
forums-73ce1a5a976f3f1634e9aeffa8fbe79378870c71.zip
[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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_container.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_container.php b/phpBB/includes/functions_container.php
index 1763d1082a..9f84511439 100644
--- a/phpBB/includes/functions_container.php
+++ b/phpBB/includes/functions_container.php
@@ -133,5 +133,5 @@ function phpbb_create_dumped_container_unless_debug(array $extensions, array $pa
function phpbb_container_filename($phpbb_root_path, $php_ext)
{
$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;
}