From 7d381d84575c923e9fda4cfa5e2a209f81c47d6d Mon Sep 17 00:00:00 2001 From: vam Date: Thu, 22 Nov 2018 20:50:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=BA=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?,=20=D0=BF=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8E=20=D0=B2=D1=8B=D1=81=D1=82=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BA=D0=BE=D0=B4=D0=B8=D1=80=D0=BE=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0=20utf8mb4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Install/src/InstallManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Install/src/InstallManager.php b/Install/src/InstallManager.php index 3790342..14d0b38 100755 --- a/Install/src/InstallManager.php +++ b/Install/src/InstallManager.php @@ -101,7 +101,7 @@ public function createDatabaseFile($config) } $configPath = ROOT . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'app.php'; - foreach (['host', 'username', 'password', 'database', 'driver'] as $field) { + foreach (['host', 'username', 'password', 'database', 'driver', 'encoding'] as $field) { if (isset($config[$field]) && (!empty($config[$field] || $field == 'password'))) { $this->_updateDatasourceConfig($configPath, $field, $config[$field]); }