mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12631] Add finder.not_use_cache
PHPBB3-12631
This commit is contained in:
committed by
Marc Alexander
parent
38024d14bf
commit
9308764fae
@@ -64,6 +64,10 @@ class container_configuration implements ConfigurationInterface
|
||||
->children()
|
||||
->booleanNode('force_sid')->defaultValue(false)->end()
|
||||
->booleanNode('log_errors')->defaultValue(false)->end()
|
||||
->arrayNode('finder')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->booleanNode('not_use_cache')->defaultValue(false)->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
|
@@ -117,6 +117,11 @@ class core extends Extension
|
||||
foreach ($config['session'] as $name => $value)
|
||||
{
|
||||
$container->setParameter('session.' . $name, $value);
|
||||
|
||||
// Set the finder options
|
||||
foreach ($config['finder'] as $name => $value)
|
||||
{
|
||||
$container->setParameter('finder.' . $name, $value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user