Changeset 3114 for branches/2.2


Ignore:
Timestamp:
08/02/10 11:07:16 (14 years ago)
Author:
amuller
Message:

Ticket #1151 - Corrige problema de requisição presa no download

File:
1 edited

Legend:

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

    r3080 r3114  
    5454 
    5555        function downloadFile($strFileType, $strFileName, $newFileName, $fileContent, $encoding) { 
     56                //avoid stuck request  
     57                session_write_close();  
    5658                $ContentType = "application/octet-stream"; 
    5759 
     
    172174                        { 
    173175                                if (preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) { 
    174                                         //avoid stuck request  
    175                                         session_write_close();  
    176  
    177176                                        //reset time limit for big files  
    178177                                        set_time_limit(0);  
Note: See TracChangeset for help on using the changeset viewer.