Updated file extension to .twig

This commit is contained in:
Belle Aerni 2023-01-10 06:32:51 -08:00
parent 22007f4c57
commit da69eb3f81

View file

@ -108,7 +108,7 @@ class AntCMS
$templatePath = AntTools::repairFilePath(antThemePath . '/' . $theme . '/' . 'Templates');
$defaultTemplates = AntTools::repairFilePath(antThemePath . '/Default/Templates');
$templates = AntTools::getFileList($templatePath, 'html');
$templates = AntTools::getFileList($templatePath, 'twig');
try {
if (in_array($layout . '.html.twig', $templates)) {