From 163baf6098dfdfd5dda56c99b1bbffa6365220b0 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Fri, 3 Jan 2020 17:45:47 +0800 Subject: [PATCH] Update index.php --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index b96e7a6..1b3b204 100644 --- a/index.php +++ b/index.php @@ -505,8 +505,9 @@ function fetch_files($path = '/') $cache->save('path_' . $path, $files, 3300); } } - } else { - $files = json_decode( '{"unknownError":{ "stat":'.$arr['stat'].',"message":"'.$arr['body'].'"}}', true); + } else {//,"message":"'.$arr['body'].'" + error_log($arr['body']); + $files = json_decode( '{"unknownError":{ "stat":'.$arr['stat'].'}}', true); } } return $files;