diff options
author | David King <imkingdavid@gmail.com> | 2012-10-19 19:53:29 -0400 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-11-10 11:40:09 +0100 |
commit | f48709f5bb8fb1b916d308e3b4bb06bc96d08611 (patch) | |
tree | dc662d3c6f42e2fe1cba86fce7608a84521c0143 /phpBB/includes/cache | |
parent | 957508c8b1a71c603c31728dfab79640554c541e (diff) | |
download | forums-f48709f5bb8fb1b916d308e3b4bb06bc96d08611.tar forums-f48709f5bb8fb1b916d308e3b4bb06bc96d08611.tar.gz forums-f48709f5bb8fb1b916d308e3b4bb06bc96d08611.tar.bz2 forums-f48709f5bb8fb1b916d308e3b4bb06bc96d08611.tar.xz forums-f48709f5bb8fb1b916d308e3b4bb06bc96d08611.zip |
[feature/compiled-dic] Compile the DI Container into a cached class
PHPBB3-11152
Diffstat (limited to 'phpBB/includes/cache')
-rw-r--r-- | phpBB/includes/cache/driver/file.php | 2 | ||||
-rw-r--r-- | phpBB/includes/cache/driver/memory.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/cache/driver/file.php b/phpBB/includes/cache/driver/file.php index f64a9e3ea8..b8876b03b4 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, 'sql_') !== 0 && strpos($entry, 'data_') !== 0 && strpos($entry, 'ctpl_') !== 0 && strpos($entry, 'tpl_') !== 0) + if (strpos($entry, 'container') !== 0 && strpos($entry, 'sql_') !== 0 && strpos($entry, 'data_') !== 0 && strpos($entry, 'ctpl_') !== 0 && strpos($entry, 'tpl_') !== 0) { continue; } diff --git a/phpBB/includes/cache/driver/memory.php b/phpBB/includes/cache/driver/memory.php index e0771ab1d3..9ee32fff28 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, 'sql_') !== 0 && strpos($entry, 'data_') !== 0 && strpos($entry, 'ctpl_') !== 0 && strpos($entry, 'tpl_') !== 0) + if (strpos($entry, 'container') !== 0 && strpos($entry, 'sql_') !== 0 && strpos($entry, 'data_') !== 0 && strpos($entry, 'ctpl_') !== 0 && strpos($entry, 'tpl_') !== 0) { continue; } |