mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Portal: Twig cache is now disabled when debug option is activated
SVN:trunk[4709]
This commit is contained in:
@@ -66,7 +66,7 @@ $oApp->register(new Combodo\iTop\Portal\Provider\ScopeValidatorServiceProvider()
|
||||
$oApp->register(new Silex\Provider\TwigServiceProvider(), array(
|
||||
'twig.path' => MODULESROOT,
|
||||
'twig.options' => array(
|
||||
'cache' => utils::GetCachePath() . 'twig/'
|
||||
'cache' => ($bDebug) ? false : utils::GetCachePath() . 'twig/',
|
||||
)
|
||||
));
|
||||
$oApp->register(new Silex\Provider\HttpFragmentServiceProvider());
|
||||
|
||||
Reference in New Issue
Block a user