aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-11-15 09:07:41 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-15 09:07:41 -0500
commitc30b38ba10681bb9f4f5aa0a668388b3e7bd084e (patch)
tree412bd22f10059e6dc317d3a53a7078235092d14a /phpBB/includes/cache
parentf16f33c5ed6aa03ba6c6100b6ae1ab9ab27d3f8b (diff)
parenta0cc2878a365e2f36728f3b102c131cd055f6874 (diff)
downloadforums-c30b38ba10681bb9f4f5aa0a668388b3e7bd084e.tar
forums-c30b38ba10681bb9f4f5aa0a668388b3e7bd084e.tar.gz
forums-c30b38ba10681bb9f4f5aa0a668388b3e7bd084e.tar.bz2
forums-c30b38ba10681bb9f4f5aa0a668388b3e7bd084e.tar.xz
forums-c30b38ba10681bb9f4f5aa0a668388b3e7bd084e.zip
Merge PR #1088 branch 'igorw/ticket/11199' into develop
* igorw/ticket/11199: [ticket/11199] Match cache purge container files against container_* [ticket/11199] Purge dumped container correctly on cache purge.
Diffstat (limited to 'phpBB/includes/cache')
-rw-r--r--phpBB/includes/cache/driver/file.php2
-rw-r--r--phpBB/includes/cache/driver/memory.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/cache/driver/file.php b/phpBB/includes/cache/driver/file.php
index b20c0064ea..32bdb1918a 100644
--- a/phpBB/includes/cache/driver/file.php
+++ b/phpBB/includes/cache/driver/file.php
@@ -214,7 +214,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
while (($entry = readdir($dir)) !== false)
{
- if (strpos($entry, 'container') !== 0 &&
+ if (strpos($entry, 'container_') !== 0 &&
strpos($entry, 'sql_') !== 0 &&
strpos($entry, 'data_') !== 0 &&
strpos($entry, 'ctpl_') !== 0 &&
diff --git a/phpBB/includes/cache/driver/memory.php b/phpBB/includes/cache/driver/memory.php
index 98ac02b161..1ea9a3e9e7 100644
--- a/phpBB/includes/cache/driver/memory.php
+++ b/phpBB/includes/cache/driver/memory.php
@@ -162,7 +162,7 @@ abstract class phpbb_cache_driver_memory extends phpbb_cache_driver_base
while (($entry = readdir($dir)) !== false)
{
- if (strpos($entry, 'container') !== 0 &&
+ if (strpos($entry, 'container_') !== 0 &&
strpos($entry, 'sql_') !== 0 &&
strpos($entry, 'data_') !== 0 &&
strpos($entry, 'ctpl_') !== 0 &&