diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-24 10:02:02 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-24 10:02:02 +0000 |
commit | 7a4d5df34f6391a7f94023112fbeb0bba330ffa5 (patch) | |
tree | ee111bfca4d91c923f40e133200760aecdca88a2 /lib/batch.lib.php | |
parent | 3de0a91af3905dac753e2835403a806997cd6ba9 (diff) | |
download | ampache-7a4d5df34f6391a7f94023112fbeb0bba330ffa5.tar.gz ampache-7a4d5df34f6391a7f94023112fbeb0bba330ffa5.tar.bz2 ampache-7a4d5df34f6391a7f94023112fbeb0bba330ffa5.zip |
tweaked the file based zip downloads per CoFs recommendations, now uses temp name and includes ability to add commenting
Diffstat (limited to 'lib/batch.lib.php')
-rw-r--r-- | lib/batch.lib.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/batch.lib.php b/lib/batch.lib.php index ae919767..ce2cea1f 100644 --- a/lib/batch.lib.php +++ b/lib/batch.lib.php @@ -72,7 +72,8 @@ function send_zip( $name, $song_files ) { 'inmemory' => $in_memory, // create archive in memory 'basedir' => $basedir, 'storepaths' => 0, // only store file name, not full path - 'level' => 0 // no compression + 'level' => 0, // no compression + 'comment' => Config::get('file_zip_comment') ); $arc->set_options( $options ); |