fix fix fix bug....

pull/41/head
qkqpttgf 2020-03-22 15:50:21 +08:00 committed by GitHub
parent c3f303138f
commit 247e608ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ function fetch_files($path = '/')
global $exts;
$path1 = path_format($path);
$path = path_format($_SERVER['list_path'] . path_format($path));
if (substr($path,-1)=='/') $path=substr($path,0,-1);
if ($path!='/'&&substr($path,-1)=='/') $path=substr($path,0,-1);
if (!($files = getcache('path_' . $path))) {
// https://docs.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0
// https://docs.microsoft.com/zh-cn/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http