You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 line
962B

  1. <?php
  2. return [
  3. 'components' => [
  4. 'db' => [
  5. 'class' => 'yii\db\Connection',
  6. 'dsn' => 'mysql:host=localhost;dbname=opendistrib_test',
  7. 'username' => 'root',
  8. 'password' => 'k&mysql*$=',
  9. 'charset' => 'utf8',
  10. ],
  11. 'mailer' => [
  12. 'class' => 'yii\swiftmailer\Mailer',
  13. 'viewPath' => '@common/mail',
  14. // send all mails to a file by default. You have to set
  15. // 'useFileTransport' to false and configure a transport
  16. // for the mailer to send real emails.
  17. 'useFileTransport' => true,
  18. 'transport' => [
  19. 'class' => 'Swift_SmtpTransport',
  20. 'host' => 'smtp-laclic.alwaysdata.net',
  21. 'username' => 'contact@opendistrib.net',
  22. 'password' => 'k&opendistrib*$=',
  23. 'port' => '587',
  24. //'encryption' => 'tls',
  25. ],
  26. ],
  27. ],
  28. ];