Allow additional paths for Twig Helper and add images/ to iTop webpage and block renderer paths

This commit is contained in:
Stephen Abello
2020-08-10 15:59:29 +02:00
parent 9be4743cf6
commit 8996117929
3 changed files with 19 additions and 4 deletions

View File

@@ -1139,7 +1139,7 @@ EOF
]
);
$oTwigEnv = TwigHelper::GetTwigEnvironment(APPROOT.'templates/');
$oTwigEnv = TwigHelper::GetTwigEnvironment(BlockRenderer::TWIG_BASE_PATH, BlockRenderer::TWIG_ADDITIONAL_PATHS);
// Send headers
if ($this->GetOutputFormat() === 'html')