Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
修了,但差点没完全修
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeBottle committed Oct 31, 2021
1 parent f619710 commit f0eea6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ function handleRequest($url, $returnUrl = false, $requestForFile = false)
$render = renderFolderIndex($data['value'], parsePath($url));/*渲染目录*/
return $render;
} else {
$resp = json_decode($resp, true);
unset($resp['@odata.context']);/*防止泄露onedrive账号邮箱*/
$jsonArr['msg'] = 'Error response:' . var_export($resp, true);
return ($config['list_as_json'] ? json_encode($jsonArr, true) : 'Error response:' . var_export($resp, true));
Expand Down

0 comments on commit f0eea6e

Please sign in to comment.