summaryrefslogtreecommitdiff
path: root/views/mailtemplates/html
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-05-05 12:04:06 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-05-05 12:04:06 +0000
commit5d557ade80fc0153ac6b9ee7599df783b55760ab (patch)
tree9e92ff9b9111354b245ce73a57db005f9ead50d4 /views/mailtemplates/html
parent7ba075c9740ec5d1c2f108fcd806488fcaf15da3 (diff)
- Bugfix: Logo in E-Mail Konfiguration lässt sich speichern / Task #726
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7716 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mailtemplates/html')
-rw-r--r--views/mailtemplates/html/logo.phtml4
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);
}
}