1
0

main-local.php 406 B

12345678910111213141516
  1. <?php
  2. return [
  3. 'components' => [
  4. 'db' => [
  5. 'class' => 'yii\db\Connection',
  6. 'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
  7. 'username' => 'root',
  8. 'password' => '',
  9. 'charset' => 'utf8',
  10. ],
  11. 'mailer' => [
  12. 'class' => 'yii\swiftmailer\Mailer',
  13. 'viewPath' => '@common/mail',
  14. ],
  15. ],
  16. ];