From e267af0f7e1d467c1d56ec706d77befa5e52ab04 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 9 Jan 2014 04:21:01 +0400 Subject: [PATCH] Fixed production environment for advanced app --- apps/advanced/environments/prod/common/config/params-local.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/advanced/environments/prod/common/config/params-local.php b/apps/advanced/environments/prod/common/config/params-local.php index 47edec1..b6a9496 100644 --- a/apps/advanced/environments/prod/common/config/params-local.php +++ b/apps/advanced/environments/prod/common/config/params-local.php @@ -1,8 +1,10 @@ [ + 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=yii2advanced', 'username' => 'root', 'password' => '', + 'charset' => 'utf8', ], ];