mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'p/ticket/11199' into develop
* p/ticket/11199: [ticket/11199] Revert merge of 'marc1706/ticket/11199' into develop
This commit is contained in:
commit
56b7ba2085
2 changed files with 2 additions and 2 deletions
2
phpBB/includes/cache/driver/file.php
vendored
2
phpBB/includes/cache/driver/file.php
vendored
|
@ -214,7 +214,7 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
||||||
|
|
||||||
while (($entry = readdir($dir)) !== false)
|
while (($entry = readdir($dir)) !== false)
|
||||||
{
|
{
|
||||||
if (strpos($entry, 'container') === false &&
|
if (strpos($entry, 'container') !== 0 &&
|
||||||
strpos($entry, 'sql_') !== 0 &&
|
strpos($entry, 'sql_') !== 0 &&
|
||||||
strpos($entry, 'data_') !== 0 &&
|
strpos($entry, 'data_') !== 0 &&
|
||||||
strpos($entry, 'ctpl_') !== 0 &&
|
strpos($entry, 'ctpl_') !== 0 &&
|
||||||
|
|
2
phpBB/includes/cache/driver/memory.php
vendored
2
phpBB/includes/cache/driver/memory.php
vendored
|
@ -162,7 +162,7 @@ abstract class phpbb_cache_driver_memory extends phpbb_cache_driver_base
|
||||||
|
|
||||||
while (($entry = readdir($dir)) !== false)
|
while (($entry = readdir($dir)) !== false)
|
||||||
{
|
{
|
||||||
if (strpos($entry, 'container') === false &&
|
if (strpos($entry, 'container') !== 0 &&
|
||||||
strpos($entry, 'sql_') !== 0 &&
|
strpos($entry, 'sql_') !== 0 &&
|
||||||
strpos($entry, 'data_') !== 0 &&
|
strpos($entry, 'data_') !== 0 &&
|
||||||
strpos($entry, 'ctpl_') !== 0 &&
|
strpos($entry, 'ctpl_') !== 0 &&
|
||||||
|
|
Loading…
Add table
Reference in a new issue