Browse Source

Fixes #1846

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
1f47d94eca
  1. 5
      apps/advanced/common/config/params.php
  2. 2
      apps/advanced/environments/dev/common/config/params-local.php

5
apps/advanced/common/config/params.php

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

2
apps/advanced/environments/dev/common/config/params-local.php

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

Loading…
Cancel
Save