Commit 1dc225701d4c7f2da3ce206d6470e6249163cbcf
1 parent
d87bdb77
test
Showing
2 changed files
with
20 additions
and
1 deletions
Show diff stats
common/config/.gitignore
1 | +<?php | |
2 | +return [ | |
3 | + 'components' => [ | |
4 | + 'db' => [ | |
5 | + 'class' => 'yii\db\Connection', | |
6 | + 'dsn' => 'mysql:host=195.248.225.149;dbname=test6', | |
7 | + 'username' => 'test6', | |
8 | + 'password' => 'T4n2W9e3', | |
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 | + ], | |
19 | + ], | |
20 | +]; | ... | ... |