Created
May 24, 2013 20:22
-
-
Save joelpittet/5646257 to your computer and use it in GitHub Desktop.
installfix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/lib/Drupal/Core/CoreBundle.php b/core/lib/Drupal/Core/CoreBundle.php | |
index 2d85f6a..7bcd33b 100644 | |
--- a/core/lib/Drupal/Core/CoreBundle.php | |
+++ b/core/lib/Drupal/Core/CoreBundle.php | |
@@ -99,7 +99,7 @@ public static function registerTwig(ContainerBuilder $container) { | |
// This is saved / loaded via drupal_php_storage(). | |
// All files can be refreshed by clearing caches. | |
// @todo ensure garbage collection of expired files. | |
- 'cache' => settings()->get('twig_cache', TRUE), | |
+ 'cache' => ((MAINTENANCE_MODE != 'install') ? settings()->get('twig_cache', TRUE) : FALSE), | |
'base_template_class' => 'Drupal\Core\Template\TwigTemplate', | |
// @todo Remove in followup issue | |
// @see http://drupal.org/node/1712444. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment