From 1818f513a0246f1c7ff7393c7cf999133e5f8303 Mon Sep 17 00:00:00 2001 From: oott123 Date: Tue, 23 Jul 2013 13:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=A4=A7=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=88=86=E5=89=B2=E4=B8=8A=E4=BC=A0=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _bpcs_files_/common.inc.php | 18 ++++++++--- _bpcs_files_/core.php | 59 +++++++++++++++++++++++++++++++++++-- bpcs_uploader.php | 25 ++++++++++++++-- 3 files changed, 92 insertions(+), 10 deletions(-) diff --git a/_bpcs_files_/common.inc.php b/_bpcs_files_/common.inc.php index 1befb7d..dc95f54 100644 --- a/_bpcs_files_/common.inc.php +++ b/_bpcs_files_/common.inc.php @@ -1,10 +1,17 @@ 1G) + $argv[4] = 1073741824; + //因为需要继续下面的操作所以这里没有break + case 5: //设置默认值(临时文件目录->/tmp/) + $argv[5] = '/tmp/'; + //因为需要继续下面的操作所以这里没有break + default: //开始上传操作 + super_file($access_token,$argv[3],$argv[2],'newcopy',$argv[4],$argv[5]); + } } \ No newline at end of file