mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12636] Add log.session_errors
PHPBB3-12636
This commit is contained in:
@@ -54,6 +54,12 @@ class container_configuration implements ConfigurationInterface
|
||||
->booleanNode('composer_verbose')->defaultValue(false)->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('log')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->booleanNode('session_errors')->defaultValue(false)->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
;
|
||||
return $treeBuilder;
|
||||
|
@@ -110,6 +110,12 @@ class core extends Extension
|
||||
{
|
||||
$container->setParameter('debug.' . $name, $value);
|
||||
}
|
||||
|
||||
// Set the log options
|
||||
foreach ($config['log'] as $name => $value)
|
||||
{
|
||||
$container->setParameter('log.' . $name, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user