1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12623] Add allow_install_dir

PHPBB3-12623
This commit is contained in:
Rubén Calvo
2018-09-01 01:09:22 +02:00
committed by Marc Alexander
parent 1609fa292d
commit 432482160d
4 changed files with 6 additions and 2 deletions

View File

@@ -71,6 +71,8 @@ class core extends Extension
}
}
$container->setParameter('allow_install_dir', $config['allow_install_dir']);
// Set the Twig options if defined in the environment
$definition = $container->getDefinition('template.twig.environment');
$twig_environment_options = $definition->getArgument(static::TWIG_OPTIONS_POSITION);