...
|
...
|
@@ -3,14 +3,19 @@ return [ |
|
|
'components' => [
|
|
|
'db' => [
|
|
|
'class' => 'yii\db\Connection',
|
|
|
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
|
|
|
'username' => 'root',
|
|
|
'password' => '',
|
|
|
'dsn' => 'mysql:host=192.168.102.214;port=5511;dbname=yh_live',
|
|
|
'username' => 'yohodb',
|
|
|
'password' => 'yohonj_9646_mysql',
|
|
|
'charset' => 'utf8',
|
|
|
'tablePrefix' => 'tbl_',
|
|
|
],
|
|
|
'mailer' => [
|
|
|
'class' => 'yii\swiftmailer\Mailer',
|
|
|
'viewPath' => '@common/mail',
|
|
|
// 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,
|
|
|
],
|
|
|
],
|
|
|
]; |
...
|
...
|
|