Changeset 3900


Ignore:
Timestamp:
03/24/11 09:29:26 (11 years ago)
Author:
brunocosta
Message:

Ticket #1664 - Mudando teste com tamanho de anexos enviados para o servidor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php

    r3872 r3900  
    20532053        } 
    20542054                //echo "<script language=\"javascript\">javascript:alert('".$body."');</script>"; 
    2055                 $attachments = $params['FILES']; 
     2055                $attachments = $_FILES; 
    20562056                $forwarding_attachments = $params['forwarding_attachments']; 
    20572057                $local_attachments = $params['local_attachments']; 
     
    22082208                        foreach ($attachments as $attach) 
    22092209                        { 
     2210                                if($attach['error'] == UPLOAD_ERR_INI_SIZE) 
     2211                                    return $this->parse_error("message file too big"); 
    22102212                                if($attach['name']=='Unknown') 
    22112213                                        continue; 
Note: See TracChangeset for help on using the changeset viewer.