mirror of
https://github.com/gantry/gantry5.git
synced 2026-08-17 16:34:55 -05:00
Fixed twig cache error #3376
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
/**
|
||||
* @package Gantry5
|
||||
* @author Tiger12 http://tiger12.com
|
||||
* @originalCreator RocketTheme (Gantry Framework)
|
||||
* @currentDeveloper Tiger12, LLC
|
||||
* @originalCreator RocketTheme (Gantry Framework)
|
||||
* @currentDeveloper Tiger12, LLC
|
||||
* @copyright Copyright (C) 2007 - 2022 Tiger12, LLC
|
||||
* @license Dual License: MIT or GNU/GPLv2 and later
|
||||
*
|
||||
@@ -137,7 +137,7 @@ abstract class AbstractTheme
|
||||
$cache = new TwigCacheFilesystem($cachePath, FilesystemCache::FORCE_BYTECODE_INVALIDATION);
|
||||
}
|
||||
} else {
|
||||
$cache = null;
|
||||
$cache = false;
|
||||
}
|
||||
$debug = $gantry->debug();
|
||||
$production = (bool) $global->get('production', 1);
|
||||
|
||||
Reference in New Issue
Block a user