Updated file extension to .twig
This commit is contained in:
parent
22007f4c57
commit
da69eb3f81
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue