Skip to content

Commit

Permalink
Update src/ChurchCRM/Emails/BaseEmail.php
Browse files Browse the repository at this point in the history
Co-authored-by: Arun Philip <dacodedbeat@gmail.com>
  • Loading branch information
DawoudIO and DAcodedBEAT authored Jan 1, 2025
1 parent 240f45f commit 3395d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChurchCRM/Emails/BaseEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(array $toAddresses)
$this->mail->addAddress($email);
}

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

Expand Down

0 comments on commit 3395d1d

Please sign in to comment.