Merge pull request #6960 from appwrite/fix-email-tmeplate-path

email template path
This commit is contained in:
Christy Jacob 2023-10-19 21:59:04 +04:00 committed by GitHub
commit 8e44f350e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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