Update index.php

pull/13/head
qkqpttgf 2020-01-03 17:45:47 +08:00 committed by GitHub
parent 0c57c20e32
commit 163baf6098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

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;