agent foundation
This commit is contained in:
@@ -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) : '';
|
||||
|
||||
Reference in New Issue
Block a user