use config helper instead of env in application code
This commit is contained in:
@@ -26,7 +26,7 @@ class Version207 extends Listener
|
||||
|
||||
// Update .env file
|
||||
Installer::updateEnv([
|
||||
'MAIL_MAILER' => env('MAIL_DRIVER'),
|
||||
'MAIL_MAILER' => config('mail.default'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user