diff --git a/lib/classes/module/console/systemTemplateGenerator.class.php b/lib/classes/module/console/systemTemplateGenerator.class.php index d1f1bffef7..a69a9d801e 100644 --- a/lib/classes/module/console/systemTemplateGenerator.class.php +++ b/lib/classes/module/console/systemTemplateGenerator.class.php @@ -89,7 +89,7 @@ class module_console_systemTemplateGenerator extends Command $finder = new Symfony\Component\Finder\Finder(); - foreach ($finder->files()->in(array($tplDir)) as $file) { + foreach ($finder->files()->in(array($tplDir))->exclude('Mustache') as $file) { try { $twig->loadTemplate(str_replace($tplDir, '', $file->getPathname())); $output->writeln('' . $file . '');