fix fix bug
This commit is contained in:
+1
-1
@@ -935,9 +935,9 @@ function MSAPI($method, $path, $data = '', $access_token)
|
|||||||
function fetch_files($path = '/')
|
function fetch_files($path = '/')
|
||||||
{
|
{
|
||||||
global $exts;
|
global $exts;
|
||||||
if (substr($path,-1)=='/') $path=substr($path,0,-1);
|
|
||||||
$path1 = path_format($path);
|
$path1 = path_format($path);
|
||||||
$path = path_format($_SERVER['list_path'] . path_format($path));
|
$path = path_format($_SERVER['list_path'] . path_format($path));
|
||||||
|
if (substr($path,-1)=='/') $path=substr($path,0,-1);
|
||||||
if (!($files = getcache('path_' . $path))) {
|
if (!($files = getcache('path_' . $path))) {
|
||||||
// https://docs.microsoft.com/en-us/graph/api/driveitem-get?view=graph-rest-1.0
|
// 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
|
// https://docs.microsoft.com/zh-cn/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http
|
||||||
|
|||||||
Reference in New Issue
Block a user