diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-11-15 02:30:43 +0100 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-11-15 02:30:43 +0100 |
| commit | a0cc2878a365e2f36728f3b102c131cd055f6874 (patch) | |
| tree | fe522e7f6060ea6893ee7cd57bf1b60e62250da5 /phpBB/includes/cache/driver/memory.php | |
| parent | 73ce1a5a976f3f1634e9aeffa8fbe79378870c71 (diff) | |
| download | forums-a0cc2878a365e2f36728f3b102c131cd055f6874.tar forums-a0cc2878a365e2f36728f3b102c131cd055f6874.tar.gz forums-a0cc2878a365e2f36728f3b102c131cd055f6874.tar.bz2 forums-a0cc2878a365e2f36728f3b102c131cd055f6874.tar.xz forums-a0cc2878a365e2f36728f3b102c131cd055f6874.zip | |
[ticket/11199] Match cache purge container files against container_*
Previously it was matching against only container*, checking for the
underscore is consistent with the other checks.
PHPBB3-11199
Diffstat (limited to 'phpBB/includes/cache/driver/memory.php')
| -rw-r--r-- | phpBB/includes/cache/driver/memory.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 && |
