Commit 94e3e87a authored by alexpott's avatar alexpott

Issue #2003578 followup by chx: twig_cache() must be FALSE in install.php...

Issue #2003578 followup by chx: twig_cache() must be FALSE in install.php registerTwig because we don't know if files folder is writable yet.
parent 6b2892bc
......@@ -101,7 +101,7 @@ public static function registerTwig(ContainerBuilder $container) {
// @todo ensure garbage collection of expired files.
// When in the installer, twig_cache must be FALSE until we know the
// files folder is writable.
'cache' => ((MAINTENANCE_MODE != 'install') ? settings()->get('twig_cache', TRUE) : FALSE),
'cache' => drupal_installation_attempted() ? FALSE : settings()->get('twig_cache', TRUE),
'base_template_class' => 'Drupal\Core\Template\TwigTemplate',
// @todo Remove in followup issue
// @see http://drupal.org/node/1712444.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment