first send

This commit is contained in:
2025-12-27 00:41:52 +01:00
parent 93a6487ac0
commit 4685c85ead
2 changed files with 14 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ final class Mailer
{
$env = $this->app->config()->env;
$root = __DIR__ . '/../../config/emailtemplates.php';
$envPath = __DIR__ . "/../../config/{$env}/emailtemplates.php";
$envPath = __DIR__ . "/../../config/emailtemplates.php";
$file = is_file($root) ? $root : $envPath;
$emailtemplates = [];
if (is_file($file)) {