Ignore:
Timestamp:
08/05/10 14:13:49 (14 years ago)
Author:
amuller
Message:

Ticket #1026 - Corrigindo problema de download de mensagens

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/gotodownload.php

    r3114 r3139  
    173173                        if (preg_match("#^".ini_get('session.save_path')."/(".$GLOBALS['phpgw']->session->sessionid."/)*[A-z]+_".$GLOBALS['phpgw']->session->sessionid."[A-z0-9]*(\.[A-z]{3,4})?$#",$strFileName)) 
    174174                        { 
    175                                 if (preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) { 
     175                                if ( ! preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) { 
    176176                                        //reset time limit for big files  
    177177                                        set_time_limit(0);  
     
    193193                                } 
    194194                                else  
    195                                         if (preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) { 
    196                                                 readfile($strFileName); 
    197                                         } 
     195                                        readfile($strFileName); 
    198196                        } 
    199197        } 
Note: See TracChangeset for help on using the changeset viewer.