Commit 1b28559df55e91f5f5f2c8def33d36f922a16166
1 parent
ef3bfef9
test
Showing
1 changed file
with
25 additions
and
0 deletions
Show diff stats
| 1 | +<?php | ||
| 2 | +return [ | ||
| 3 | + 'components' => [ | ||
| 4 | + 'db' => [ | ||
| 5 | + 'class' => 'yii\db\Connection', | ||
| 6 | + 'dsn' => 'pgsql:host=195.248.225.149;port=5432;dbname=mfp', | ||
| 7 | + 'username' => 'test33', | ||
| 8 | + 'password' => 'E4q2N7i9', | ||
| 9 | + 'schemaMap' => [ | ||
| 10 | + 'pgsql'=> [ | ||
| 11 | + 'class'=>'yii\db\pgsql\Schema', | ||
| 12 | + 'defaultSchema' => 'public' | ||
| 13 | + ] | ||
| 14 | + ], | ||
| 15 | + ], | ||
| 16 | + 'mailer' => [ | ||
| 17 | + 'class' => 'yii\swiftmailer\Mailer', | ||
| 18 | + 'viewPath' => '@common/mail', | ||
| 19 | + // send all mails to a file by default. You have to set | ||
| 20 | + // 'useFileTransport' to false and configure a transport | ||
| 21 | + // for the mailer to send real emails. | ||
| 22 | + 'useFileTransport' => true, | ||
| 23 | + ], | ||
| 24 | + ], | ||
| 25 | +]; |