Monday 11 July 2011 7:12:20 am
Does not work. This looks identical to what I had before I fixed the ezFile class. Did you apply the patch in the issue I listed? Add a line to ezFile just before line 253 $tempString = ( $overrideFilename !== false ) ? "; filename={$overrideFilename}" : ''; Then use xdebug to see what $tempString is. You will find is is something like "; filename=" This is an invalid header. You need to change line 256 to: (( $overrideFilename !== false ) ? "; filename={$overrideFilename}" : '') Note the surrounding () Also on line 260 make it: if ( $startOffset !== 0 ) Or it will always use partial handling as ezfilepassthroughhandler(i thing that was the name) always passes a filesize which will make it use the partial handling.
|