Commit 9da28421 by Alexander Makarov

Use fileTransport for email in debug mode by default

parent 2dc341f8
......@@ -6,9 +6,5 @@ return [
'cache' => [
'class' => 'yii\caching\FileCache',
],
'mail' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails',
],
],
];
......@@ -8,5 +8,10 @@ return [
'password' => '',
'charset' => 'utf8',
],
'mail' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails',
'useFileTransport' => true,
],
],
];
......@@ -8,5 +8,9 @@ return [
'password' => '',
'charset' => 'utf8',
],
'mail' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails',
],
],
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment