This commit is contained in:
Alexander Makarov
2014-01-09 02:41:12 +04:00
parent 3006d5ef93
commit 1f47d94eca
2 changed files with 2 additions and 5 deletions

View File

@@ -17,9 +17,4 @@ return [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mails',
],
'components.db' => [
'class' => 'yii\db\Connection',
'charset' => 'utf8',
],
];

View File

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