From 7a4d5df34f6391a7f94023112fbeb0bba330ffa5 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sat, 24 Nov 2007 10:02:02 +0000 Subject: tweaked the file based zip downloads per CoFs recommendations, now uses temp name and includes ability to add commenting --- lib/batch.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/batch.lib.php') 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 ); -- cgit