mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
exclude Mustache's template
This commit is contained in:
@@ -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 . '');
|
||||
|
Reference in New Issue
Block a user