aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-11-14 17:14:21 -0500
committerDavid King <imkingdavid@gmail.com>2012-11-16 17:05:44 -0500
commitaead33432ae67857009f9570a5ec720d86f7575b (patch)
tree00c19685d340db9856e6eacb3d322b540587885e /phpBB/includes/cache
parentc54c3ee422a9bfb0878aecf80cbb298e230e4fd4 (diff)
downloadforums-aead33432ae67857009f9570a5ec720d86f7575b.tar
forums-aead33432ae67857009f9570a5ec720d86f7575b.tar.gz
forums-aead33432ae67857009f9570a5ec720d86f7575b.tar.bz2
forums-aead33432ae67857009f9570a5ec720d86f7575b.tar.xz
forums-aead33432ae67857009f9570a5ec720d86f7575b.zip
[feature/controller] Remove dumped container when cache is purged
PHPBB3-10864
Diffstat (limited to 'phpBB/includes/cache')
-rw-r--r--phpBB/includes/cache/driver/file.php1
-rw-r--r--phpBB/includes/cache/driver/memory.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/cache/driver/file.php b/phpBB/includes/cache/driver/file.php
index 32bdb1918a..5014ba18af 100644
--- a/phpBB/includes/cache/driver/file.php
+++ b/phpBB/includes/cache/driver/file.php
@@ -215,6 +215,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
while (($entry = readdir($dir)) !== false)
{
if (strpos($entry, 'container_') !== 0 &&
+ strpos($entry, 'url_matcher') !== 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 1ea9a3e9e7..f6c42c0ea6 100644
--- a/phpBB/includes/cache/driver/memory.php
+++ b/phpBB/includes/cache/driver/memory.php
@@ -163,6 +163,7 @@ abstract class phpbb_cache_driver_memory extends phpbb_cache_driver_base
while (($entry = readdir($dir)) !== false)
{
if (strpos($entry, 'container_') !== 0 &&
+ strpos($entry, 'url_matcher') !== 0 &&
strpos($entry, 'sql_') !== 0 &&
strpos($entry, 'data_') !== 0 &&
strpos($entry, 'ctpl_') !== 0 &&