diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2011-10-27 21:09:43 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2011-10-27 21:09:43 -0400 |
commit | dd7b93254bc67f74319d097e387bb96c29cf1368 (patch) | |
tree | 6b52d234fae08b6f3b1f6c311bce846e088dc3d5 /play/index.php | |
parent | a3a087e4043c64349cad9ea52dffce7a964a5656 (diff) | |
download | ampache-dd7b93254bc67f74319d097e387bb96c29cf1368.tar.gz ampache-dd7b93254bc67f74319d097e387bb96c29cf1368.tar.bz2 ampache-dd7b93254bc67f74319d097e387bb96c29cf1368.zip |
Remove unnecessary call to header()
Horde_Browser will output a Content-Length header.
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php index 506af18f..0016d1ee 100644 --- a/play/index.php +++ b/play/index.php @@ -257,7 +257,6 @@ if ($_GET['action'] == 'download' AND Config::get('download')) { $media->format_pattern(); $media_name = str_replace(array('?','/','\\'),"_",$media->f_file); - header("Content-Length: " . $media->size); $browser->downloadHeaders($media_name,$media->mime,false,$media->size); $fp = fopen($media->file,'rb'); $bytesStreamed = 0; |