mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12636] Rename log.session_errors to session.log_errors
PHPBB3-12636
This commit is contained in:
@@ -49,10 +49,10 @@ class container_configuration implements ConfigurationInterface
|
||||
->booleanNode('enable_debug_extension')->defaultValue(false)->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('log')
|
||||
->arrayNode('session')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
->booleanNode('session_errors')->defaultValue(false)->end()
|
||||
->booleanNode('log_errors')->defaultValue(false)->end()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
|
@@ -101,9 +101,9 @@ class core extends Extension
|
||||
}
|
||||
|
||||
// Set the log options
|
||||
foreach ($config['log'] as $name => $value)
|
||||
foreach ($config['session'] as $name => $value)
|
||||
{
|
||||
$container->setParameter('log.' . $name, $value);
|
||||
$container->setParameter('session.' . $name, $value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user