diff --git a/function.php b/function.php index 567a3de9..8d17bcea 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); }