diff --git a/tmp_msg/json_result.php b/tmp_msg/json_result.php index 9cdf7859..a9213754 100644 --- a/tmp_msg/json_result.php +++ b/tmp_msg/json_result.php @@ -18,7 +18,8 @@ function relayJson($filepath, $noCache = true, $die = true){ header('Pragma: no-cache'); } - echo file_get_contents($filepath); + $json = json_decode(file_get_contents($filepath)); + echo json_encode($json,JSON_UNESCAPED_UNICODE); if($die){ die(); diff --git a/tmp_msg/prompt_dummy.php b/tmp_msg/prompt_dummy.php new file mode 100644 index 00000000..0acbab10 --- /dev/null +++ b/tmp_msg/prompt_dummy.php @@ -0,0 +1,8 @@ +true, + 'reason'=>'success' +], JSON_UNESCAPED_UNICODE); \ No newline at end of file