equal
deleted
inserted
replaced
306 header('Content-type: '.$row['mimetype']); |
306 header('Content-type: '.$row['mimetype']); |
307 if ( isset($_GET['download']) ) |
307 if ( isset($_GET['download']) ) |
308 { |
308 { |
309 header('Content-disposition: attachment, filename="' . $filename . '";'); |
309 header('Content-disposition: attachment, filename="' . $filename . '";'); |
310 } |
310 } |
311 header('Content-length: '.$len); |
311 if ( !@$GLOBALS['do_gzip'] ) |
|
312 header('Content-length: ' . $len); |
|
313 |
312 header('Last-Modified: '.enano_date('r', $row['time_id'])); |
314 header('Last-Modified: '.enano_date('r', $row['time_id'])); |
313 |
315 |
314 // using this method limits RAM consumption |
316 // using this method limits RAM consumption |
315 while ( !feof($handle) ) |
317 while ( !feof($handle) ) |
316 { |
318 { |