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