Update index.php

This commit is contained in:
qkqpttgf
2020-01-03 17:45:47 +08:00
committed by GitHub
parent 0c57c20e32
commit 163baf6098
+3 -2
View File
@@ -505,8 +505,9 @@ function fetch_files($path = '/')
$cache->save('path_' . $path, $files, 3300); $cache->save('path_' . $path, $files, 3300);
} }
} }
} else { } else {//,"message":"'.$arr['body'].'"
$files = json_decode( '{"unknownError":{ "stat":'.$arr['stat'].',"message":"'.$arr['body'].'"}}', true); error_log($arr['body']);
$files = json_decode( '{"unknownError":{ "stat":'.$arr['stat'].'}}', true);
} }
} }
return $files; return $files;