summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2011-10-27 21:09:43 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2011-10-27 21:09:43 -0400
commitdd7b93254bc67f74319d097e387bb96c29cf1368 (patch)
tree6b52d234fae08b6f3b1f6c311bce846e088dc3d5 /play/index.php
parenta3a087e4043c64349cad9ea52dffce7a964a5656 (diff)
downloadampache-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.php1
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;