diff --git a/function.php b/function.php index 55e10b06..567a3de9 100644 --- a/function.php +++ b/function.php @@ -1010,7 +1010,7 @@ if (!function_exists('json_log')) { ]; $param['data'] = $data; - file_put_contents(storage('exception-' . date('Y-m-d') . '.log','exception'), + file_put_contents(storage('exception-' . date('Y-m-d') . '.log','exception/'), json_encode($param, JSON_UNESCAPED_UNICODE), FILE_APPEND); }