fix bug encode config

This commit is contained in:
dongpd 2020-06-10 14:33:23 +07:00
parent 6bb8771bfb
commit 3139db953e

View File

@ -252,7 +252,7 @@ class ConfigController extends Controller {
'content' => json_encode([ 'content' => json_encode([
'path' => $engineConfig['data']['engines'][0]['path'], 'path' => $engineConfig['data']['engines'][0]['path'],
'config' => $engineConfig, 'config' => $engineConfig,
'configEngine' => $config_json 'configEngine' => json_encode($config_json, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)
]) ])
] ]
])); ]));