diff options
Diffstat (limited to 'views/mailtemplates')
| -rw-r--r-- | views/mailtemplates/html/logo.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/mailtemplates/html/logo.phtml b/views/mailtemplates/html/logo.phtml index c4ecb8d..bbd3b1d 100644 --- a/views/mailtemplates/html/logo.phtml +++ b/views/mailtemplates/html/logo.phtml @@ -21,9 +21,9 @@ if(file_exists($logoPath))
{
- $logoType = pathinfo($logoPath);
+ $logoType = mime_content_type($logoPath);
$logoData = file_get_contents($logoPath);
- $logoBase64 = 'data:image/' . $logoType . ';base64,' . base64_encode($logoData);
+ $logoBase64 = 'data:'.$logoType.';base64,'.base64_encode($logoData);
}
}
|
