changeset 1283 | cdbc7f48ab72 |
parent 1266 | f3933b355229 |
child 1295 | 3c9c1b18567b |
child 1299 | 29601ba3c448 |
1282:49e90e1d9756 | 1283:cdbc7f48ab72 |
---|---|
3294 |
3294 |
3295 $return = @enano_gzencode($gzip_contents); |
3295 $return = @enano_gzencode($gzip_contents); |
3296 if ( $return ) |
3296 if ( $return ) |
3297 { |
3297 { |
3298 header('Content-encoding: gzip'); |
3298 header('Content-encoding: gzip'); |
3299 header('Content-length: ' . strlen($return)); |
|
3299 echo $return; |
3300 echo $return; |
3300 } |
3301 } |
3301 else |
3302 else |
3302 { |
3303 { |
3304 header('Content-length: ' . strlen($gzip_contents)); |
|
3303 echo $gzip_contents; |
3305 echo $gzip_contents; |
3304 } |
3306 } |
3305 } |
3307 } |
3306 } |
3308 } |
3307 |
3309 |