Commit 1f47d94e by Alexander Makarov

Fixes #1846

parent 3006d5ef
......@@ -17,9 +17,4 @@ return [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails',
],
'components.db' => [
'class' => 'yii\db\Connection',
'charset' => 'utf8',
],
];
<?php
return [
'components.db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
],
];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment