aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/extension
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/di/extension')
-rw-r--r--phpBB/phpbb/di/extension/container_configuration.php4
-rw-r--r--phpBB/phpbb/di/extension/core.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/di/extension/container_configuration.php b/phpBB/phpbb/di/extension/container_configuration.php
index 25e0f8a193..131ec70c8d 100644
--- a/phpBB/phpbb/di/extension/container_configuration.php
+++ b/phpBB/phpbb/di/extension/container_configuration.php
@@ -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()
diff --git a/phpBB/phpbb/di/extension/core.php b/phpBB/phpbb/di/extension/core.php
index 213e3a5890..0497c90e2a 100644
--- a/phpBB/phpbb/di/extension/core.php
+++ b/phpBB/phpbb/di/extension/core.php
@@ -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);
}
}