grab the default value from config if this isnt set to avoid setting this variable to null

This commit is contained in:
Ethan Brace 2020-04-26 06:34:27 -04:00
parent ace9c26464
commit 648841c2a5

View File

@ -26,7 +26,7 @@ class Version207 extends Listener
// Update .env file
Installer::updateEnv([
'MAIL_MAILER' => config('mail.default'),
'MAIL_MAILER' => env('MAIL_DRIVER', config('mail.default')),
]);
}
}