@ -17,9 +17,4 @@ return [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails',
],
'components.db' => [
'class' => 'yii\db\Connection',
'charset' => 'utf8',
];
@ -1,8 +1,10 @@
<?php
return [
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
'username' => 'root',
'password' => '',