aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-05-19 21:59:41 +0200
committerNicofuma <github@nicofuma.fr>2015-05-19 21:59:41 +0200
commit7a65b0cc4ea172446064d4f83b74438a9dacef09 (patch)
tree7d12563108f0a779a408acebd7e8b9ea1980eeeb /phpBB/phpbb/di
parentd7e2f488a45da99c845912925fe84d501c5d6da2 (diff)
downloadforums-7a65b0cc4ea172446064d4f83b74438a9dacef09.tar
forums-7a65b0cc4ea172446064d4f83b74438a9dacef09.tar.gz
forums-7a65b0cc4ea172446064d4f83b74438a9dacef09.tar.bz2
forums-7a65b0cc4ea172446064d4f83b74438a9dacef09.tar.xz
forums-7a65b0cc4ea172446064d4f83b74438a9dacef09.zip
[ticket/13849] Fix development environment
PHPBB3-13849
Diffstat (limited to 'phpBB/phpbb/di')
-rw-r--r--phpBB/phpbb/di/extension/core.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/di/extension/core.php b/phpBB/phpbb/di/extension/core.php
index c9e2d4dc5b..91b321a684 100644
--- a/phpBB/phpbb/di/extension/core.php
+++ b/phpBB/phpbb/di/extension/core.php
@@ -71,7 +71,7 @@ class core extends Extension
// Set the Twig options if defined in the environment
$definition = $container->getDefinition('template.twig.environment');
- $twig_environment_options = $definition->getArgument(6);
+ $twig_environment_options = $definition->getArgument(7);
if ($config['twig']['debug'])
{
$twig_environment_options['debug'] = true;
@@ -80,8 +80,8 @@ class core extends Extension
{
$twig_environment_options['auto_reload'] = true;
}
- // Replace the 6th argument, the options passed to the environment
- $definition->replaceArgument(6, $twig_environment_options);
+ // Replace the 8th argument, the options passed to the environment
+ $definition->replaceArgument(7, $twig_environment_options);
if ($config['twig']['enable_debug_extension'])
{