mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 07:34:45 +02:00
use env value as default for driver choice
This commit is contained in:
parent
55a0bfdf7e
commit
ef9d1ab614
@ -41,7 +41,7 @@ class EmailSettingsCommand extends Command
|
|||||||
'mandrill' => 'Mandrill',
|
'mandrill' => 'Mandrill',
|
||||||
'postmark' => 'Postmark',
|
'postmark' => 'Postmark',
|
||||||
],
|
],
|
||||||
'smtp',
|
env('MAIL_MAILER', env('MAIL_DRIVER', 'smtp')),
|
||||||
);
|
);
|
||||||
|
|
||||||
$method = 'setup' . studly_case($this->variables['MAIL_MAILER']) . 'DriverVariables';
|
$method = 'setup' . studly_case($this->variables['MAIL_MAILER']) . 'DriverVariables';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user