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

email template path
This commit is contained in:
Christy Jacob authored and GitHub committed 2023-10-19 21:59:04 +04:00
commit 8e44f350e5
1 file changed
+1 -1
@@ -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