agent foundation

This commit is contained in:
2026-03-06 00:44:52 +01:00
parent 9819cba733
commit 9a08f96c11
199 changed files with 8522 additions and 1880 deletions

View File

@@ -143,13 +143,6 @@ class UserAccessPdfService
if (!is_file($htmlFooterPath)) {
$htmlFooterPath = $emailBase . '/' . $locale . '/partials/footer.html';
}
if (!is_file($htmlHeaderPath)) {
$htmlHeaderPath = $emailBase . '/partials/header.html';
}
if (!is_file($htmlFooterPath)) {
$htmlFooterPath = $emailBase . '/partials/footer.html';
}
$html = (string) file_get_contents($htmlPath);
if (!isset($vars['email_header'])) {
$vars['email_header'] = is_file($htmlHeaderPath) ? (string) file_get_contents($htmlHeaderPath) : '';