Skip to content

Commit 3395d1d

Browse files
Update src/ChurchCRM/Emails/BaseEmail.php
Co-authored-by: Arun Philip <dacodedbeat@gmail.com>
1 parent 240f45f commit 3395d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChurchCRM/Emails/BaseEmail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(array $toAddresses)
2626
$this->mail->addAddress($email);
2727
}
2828

29-
$loader = new FilesystemLoader(dirname(__FILE__) . '/../../templates/email');
29+
$loader = new FilesystemLoader(__DIR__ . '/../../templates/email');
3030
$this->twig = new Environment($loader);
3131
}
3232

0 commit comments

Comments
 (0)