Ignore:
Timestamp:
03/23/11 15:15:28 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1660 - Enviar arquivos pelo filemanager, tratado o erro para o php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/filemanager/inc/uploadApp.php

    r3889 r3894  
    2727} 
    2828 
     29// Set Max Chunk Size 
     30$maxChunkSize = ini_get('upload_max_filesize'); 
     31$maxChunkSize = ( $maxChunkSize*1024 )*1024; 
     32 
    2933$appletParameters = array( 
    30                                                         'maxFileSize' => $maxFileSize, 
    31                                                         'maxChunkSize' => '1600000', 
    32                                                         'archive' => '../tp/juploader/wjhk.jupload.jar', 
    33                                                         'afterUploadURL' => 'after_upload.php', 
    34                                                         'sendMD5Sum' => 'true', 
    35                                                         'showLogWindow' => 'false', 
    36                                                         'debugLevel' => 0  
     34                                                        'maxFileSize'           => $maxFileSize, 
     35                                                        'maxChunkSize'          => $maxChunkSize, 
     36                                                        'archive'                               => '../tp/juploader/wjhk.jupload.jar', 
     37                                                        'afterUploadURL'                => 'after_upload.php', 
     38                                                        'sendMD5Sum'            => 'true', 
     39                                                        'showLogWindow' => 'false', 
     40                                                        'debugLevel'                    => 0  
    3741                                                ); 
    3842 
    3943$classParameters = array( 
    40                                                         'demo_mode' => false, 
    41                                                         'allow_subdirs' => true, 
    42                                                         'destdir' => '/tmp'  //Where to store the files on the webserver  
     44                                                        'demo_mode'     => false, 
     45                                                        'allow_subdirs' => true, 
     46                                                        'destdir'                       => '/tmp'  //Where to store the files on the webserver  
    4347                                                ); 
    4448 
Note: See TracChangeset for help on using the changeset viewer.