Changeset 3707


Ignore:
Timestamp:
08/29/09 15:15:26 (2 years ago)
Author:
dmondark
Message:

Open the temp file with write AND read permissions to allow subsequent reads after openning. Fixes #1055. Thanks lildude for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/curlrequestprocessor.php

    r3693 r3707  
    7575                } 
    7676 
    77                 $fh = @fopen( $tmp, 'wb' ); 
     77                $fh = @fopen( $tmp, 'w+b' ); 
    7878                if ( ! $fh ) { 
    7979                        return Error::raise( _t( ' %s: CURL Error. Unable to open temporary file.', array( __CLASS__ ) ), E_USER_WARNING ); 
Note: See TracChangeset for help on using the changeset viewer.