From cd243ce9502fc2dfdd67c4e6095316e3230faa10 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 13 Feb 2018 00:08:19 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EB=9D=BD,=20=EA=B1=B0=EC=A0=88=20?= =?UTF-8?q?=EC=A0=84=EC=86=A1=EC=9D=84=20=EC=9C=84=ED=95=9C=20dummy=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmp_msg/json_result.php | 3 ++- tmp_msg/prompt_dummy.php | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tmp_msg/prompt_dummy.php 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