diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-24 01:20:13 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-24 01:20:13 +0000 |
commit | d363f110d6fc1ce420a385eed0e1b1e0f702d34e (patch) | |
tree | 01b6d542479d5db4d5277a0b59428a4bcad857f5 /admin | |
parent | 478c6618b0ee637334aefb20eead299b6975bef4 (diff) | |
download | ampache-d363f110d6fc1ce420a385eed0e1b1e0f702d34e.tar.gz ampache-d363f110d6fc1ce420a385eed0e1b1e0f702d34e.tar.bz2 ampache-d363f110d6fc1ce420a385eed0e1b1e0f702d34e.zip |
fix headers on export catalog
Diffstat (limited to 'admin')
-rw-r--r-- | admin/export.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/admin/export.php b/admin/export.php index 4f4e39bd..adea9bed 100644 --- a/admin/export.php +++ b/admin/export.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -39,13 +39,11 @@ switch ($_REQUEST['action']) { // Clear everything we've done so far ob_end_clean(); - ob_start(); // This will disable buffering so contents are sent immediately to browser. // This is very useful for large catalogs because it will immediately display the download dialog to user, // instead of waiting until contents are generated, which could take a long time. ob_implicit_flush(true); - ob_end_flush(); header("Content-Transfer-Encoding: binary"); header("Cache-control: public"); |