|
@@ 3829-3837 (lines=9) @@
|
| 3826 |
|
if ($p_entry['compression'] == 0) { |
| 3827 |
|
|
| 3828 |
|
// ----- Opening destination file |
| 3829 |
|
if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) |
| 3830 |
|
{ |
| 3831 |
|
|
| 3832 |
|
// ----- Change the file status |
| 3833 |
|
$p_entry['status'] = "write_error"; |
| 3834 |
|
|
| 3835 |
|
// ----- Return |
| 3836 |
|
return $v_result; |
| 3837 |
|
} |
| 3838 |
|
|
| 3839 |
|
|
| 3840 |
|
// ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks |
|
@@ 3902-3908 (lines=7) @@
|
| 3899 |
|
} |
| 3900 |
|
|
| 3901 |
|
// ----- Opening destination file |
| 3902 |
|
if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { |
| 3903 |
|
|
| 3904 |
|
// ----- Change the file status |
| 3905 |
|
$p_entry['status'] = "write_error"; |
| 3906 |
|
|
| 3907 |
|
return $v_result; |
| 3908 |
|
} |
| 3909 |
|
|
| 3910 |
|
// ----- Write the uncompressed data |
| 3911 |
|
@fwrite($v_dest_file, $v_file_content, $p_entry['size']); |
|
@@ 4003-4006 (lines=4) @@
|
| 4000 |
|
@fclose($v_dest_file); |
| 4001 |
|
|
| 4002 |
|
// ----- Opening destination file |
| 4003 |
|
if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { |
| 4004 |
|
$p_entry['status'] = "write_error"; |
| 4005 |
|
return $v_result; |
| 4006 |
|
} |
| 4007 |
|
|
| 4008 |
|
// ----- Open the temporary gz file |
| 4009 |
|
if (($v_src_file = @gzopen($v_gzip_temp_name, 'rb')) == 0) { |