Changeset 1997 for sandbox/filemanager/inc/upload.php
- Timestamp:
- 02/10/10 15:22:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/inc/upload.php
r1924 r1997 1 1 <?php 2 2 require_once '../../header.session.inc.php'; 3 4 3 /* This single file is used to increase upload_max_filesize and post_max_size using .htaccess*/ 5 4 if(!isset($GLOBALS['phpgw_info'])){ … … 20 19 $path = $_POST['path']; 21 20 $show_upload_boxes = count($_FILES['upload_file']['name'])-1; 22 23 21 24 22 function create_summaryImage($file){ … … 133 131 else 134 132 { 135 136 133 if ($bo->vfs->cp(array( 137 134 'from'=> $_FILES['upload_file']['tmp_name'][$i], … … 186 183 } 187 184 } 188 if (count($return) > 0) 185 if (count($return) > 0){ 189 186 $_SESSION['response'] = serialize($return); 187 } 190 188 else 191 189 $_SESSION['response'] = serialize( array( 0 => 'Ok' ) );
Note: See TracChangeset
for help on using the changeset viewer.