Changeset 5327 for trunk/filemanager/inc/upload.php
- Timestamp:
- 01/09/12 09:17:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/filemanager/inc/upload.php
r3897 r5327 33 33 $path = $_POST['path']; 34 34 $notifUser = $_POST['notifTo']; 35 $show_upload_boxes = count($_FILES['upload_file']['name']);36 $filesUpload 35 $show_upload_boxes = count($_FILES['upload_file']['name']); 36 $filesUpload = $_FILES['upload_file']; 37 37 38 38 function create_summaryImage($file) … … 121 121 { 122 122 $badchar = $bo->bad_chars( $_FILES['upload_file']['name'][$i], True, True ); 123 123 124 124 if( $badchar ) 125 125 { … … 165 165 $bo->vfs->cp($tmp_arr); 166 166 $tmp_arr=array( 167 'string' => $_FILES['upload_file']['name'][$i],168 'relatives' => array(RELATIVE_ALL),167 'string' => $_FILES['upload_file']['name'][$i], 168 'relatives' => array(RELATIVE_ALL), 169 169 'attributes' => array( 170 'owner_id'=> $bo->userinfo['username'],171 172 'size'=> $_FILES['upload_file']['size'][$i],173 'mime_type'=> $_FILES['upload_file']['type'][$i],174 'deleteable'=> 'Y',175 'comment'=> stripslashes($_POST['upload_comment'][$i])170 'owner_id' => $bo->userinfo['username'], 171 'modifiedby_id' => $bo->userinfo['username'], 172 'size' => $_FILES['upload_file']['size'][$i], 173 'mime_type' => $_FILES['upload_file']['type'][$i], 174 'deleteable' => 'Y', 175 'comment' => stripslashes($_POST['upload_comment'][$i]) 176 176 ) 177 177 ); … … 195 195 'relatives' => array(RELATIVE_ALL), 196 196 'attributes' => array( 197 198 197 'mime_type' => $_FILES['upload_file']['type'][$i], 198 'comment' => stripslashes($_POST['upload_comment'][$i]) 199 199 ) 200 200 )); … … 218 218 $bo->vfs->set_attributes(array( 219 219 'string' => $_FILES['upload_file']['name'][$i], 220 'relatives' => array(RELATIVE_ALL),220 'relatives' => array(RELATIVE_ALL), 221 221 'attributes' => array( 222 223 222 'mime_type' => $_FILES['upload_file']['type'][$i], 223 'comment' => stripslashes($_POST['upload_comment'][$i]) 224 224 ) 225 225 ));
Note: See TracChangeset
for help on using the changeset viewer.