Skip to content

Commit

Permalink
rm not use code
Browse files Browse the repository at this point in the history
  • Loading branch information
qkqpttgf committed Mar 7, 2021
1 parent 4e008e0 commit 77198dd
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions disk/Aliyundrive.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,16 +530,7 @@ public function bigfileupload($path)
if ($tmp1[0]==''||$tmp1[1]=='') $filename = $_POST['filesha1'];
else $filename = $_POST['filesha1'] . '.' . $tmp1[1];
}
/*if ($fileinfo['size']>10*1024*1024) {
$cachefilename = spurlencode( $fileinfo['path'] . '/.' . $fileinfo['filelastModified'] . '_' . $fileinfo['size'] . '_' . $fileinfo['name'] . '.tmp', '/');
$getoldupinfo=$this->list_path(path_format($path . '/' . $cachefilename));
//echo json_encode($getoldupinfo, JSON_PRETTY_PRINT);
if ($getoldupinfo['type']=='file'&&$getoldupinfo['size']<5120) {
$getoldupinfo_j = curl('GET', $getoldupinfo['url']);
$getoldupinfo = json_decode($getoldupinfo_j['body'], true);
//if ( json_decode( curl('GET', $getoldupinfo['uploadUrl'])['body'], true)['@odata.context']!='' ) return output($getoldupinfo_j['body'], $getoldupinfo_j['stat']);
}
}*/

$parent = $this->list_path($path . '/' . $fileinfo['path']);
if (isset($parent['file_id'])) {
$parent_file_id = $parent['file_id'];
Expand Down

0 comments on commit 77198dd

Please sign in to comment.