1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00

Merge pull request #5325 from appwrite/fix-email-template-path

Fix email-base.tpl path in certificates worker
This commit is contained in:
Christy Jacob 2023-04-10 13:05:19 +05:30 committed by GitHub
commit 8d3c96d7eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -383,7 +383,7 @@ class CertificatesV1 extends Worker
$locale->setDefault('en');
}
$body = Template::fromFile(__DIR__ . '/../../config/locale/templates/email-base.tpl');
$body = Template::fromFile(__DIR__ . '/../config/locale/templates/email-base.tpl');
$subject = \sprintf($locale->getText("emails.certificate.subject"), $domain);
$body->setParam('{{domain}}', $domain);