瀏覽代碼

added explicit comment about file transport to mail config

fixes #3694
Carsten Brandt 11 年之前
父節點
當前提交
2dedb6aa2c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      config/web.php

+ 3 - 0
config/web.php

@@ -19,6 +19,9 @@ $config = [
         ],
         'mail' => [
             'class' => 'yii\swiftmailer\Mailer',
+            // send all mails to a file by default. You have to set
+            // 'useFileTransport' to false and configure a transport
+            // for the mailer to send real emails.
             'useFileTransport' => true,
         ],
         'log' => [