mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
add default options
This commit is contained in:
@@ -201,7 +201,13 @@ class Twig
|
||||
}
|
||||
else
|
||||
{
|
||||
$options = array();
|
||||
$options = array(
|
||||
'cache' => $registry->get('GV_RootPath') . 'tmp/cache_twig',
|
||||
'debug' => false,
|
||||
'strict_variables' => false,
|
||||
'trim_blocks' => true,
|
||||
'charset' => 'utf-8'
|
||||
);
|
||||
}
|
||||
|
||||
$confApp = new Core\Configuration\Application();
|
||||
@@ -217,6 +223,7 @@ class Twig
|
||||
else
|
||||
{
|
||||
$options["debug"] = false;
|
||||
$options["cache"] = $registry->get('GV_RootPath') . 'tmp/cache_twig';
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user