Commit 1f47d94e by Alexander Makarov

Fixes #1846

parent 3006d5ef
...@@ -17,9 +17,4 @@ return [ ...@@ -17,9 +17,4 @@ return [
'class' => 'yii\swiftmailer\Mailer', 'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails', 'viewPath' => '@common/mails',
], ],
'components.db' => [
'class' => 'yii\db\Connection',
'charset' => 'utf8',
],
]; ];
<?php <?php
return [ return [
'components.db' => [ 'components.db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2advanced', 'dsn' => 'mysql:host=localhost;dbname=yii2advanced',
'username' => 'root', 'username' => 'root',
'password' => '', '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