From ec8728d85661ca7f245b10e95f5883f1775a04fe Mon Sep 17 00:00:00 2001 From: dongpd Date: Wed, 10 Jun 2020 14:34:31 +0700 Subject: [PATCH] fix bug encode config --- controllers/ConfigController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/ConfigController.php b/controllers/ConfigController.php index d481a3b5..841925fc 100644 --- a/controllers/ConfigController.php +++ b/controllers/ConfigController.php @@ -252,7 +252,7 @@ class ConfigController extends Controller { 'content' => json_encode([ 'path' => $engineConfig['data']['engines'][0]['path'], 'config' => $engineConfig, - 'configEngine' => $config_json + 'configEngine' => json_encode($config_json, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) ]) ] ]));