Release 1.16 (#2929)
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca> Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com> Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com> Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com> Co-authored-by: SC <lalocas@protonmail.com> Co-authored-by: dkstiler <dkstiler@gmail.com> Co-authored-by: Milo Ivir <mail@milotype.de>
This commit is contained in:
@@ -56,6 +56,9 @@ class ExportServiceCompilerPass implements CompilerPassInterface
|
||||
|
||||
foreach (glob($path . $exportPath . '/*.html.twig') as $htmlTpl) {
|
||||
$tplName = basename($htmlTpl);
|
||||
if (stripos($tplName, '-bundle') !== false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$serviceId = 'exporter_renderer.' . str_replace('.', '_', $tplName);
|
||||
|
||||
@@ -70,6 +73,9 @@ class ExportServiceCompilerPass implements CompilerPassInterface
|
||||
|
||||
foreach (glob($path . $exportPath . '/*.pdf.twig') as $pdfHtml) {
|
||||
$tplName = basename($pdfHtml);
|
||||
if (stripos($tplName, '-bundle') !== false) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$serviceId = 'exporter_renderer.' . str_replace('.', '_', $tplName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user