summaryrefslogtreecommitdiffstats
path: root/lib/batch.lib.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 08:11:09 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 08:11:09 +0000
commit4b5756ba9d8ee9e83c1ba4624b461b4746e49e82 (patch)
tree2e46772da9d25197fd847b273ca1f9b882ad3e34 /lib/batch.lib.php
parent93f4a26ab07207e1f9a8e716a82c5d8812d5344c (diff)
downloadampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.gz
ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.bz2
ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.zip
Miscellaneous cleanup.
Diffstat (limited to 'lib/batch.lib.php')
-rw-r--r--lib/batch.lib.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/batch.lib.php b/lib/batch.lib.php
index e79a55d0..088055fa 100644
--- a/lib/batch.lib.php
+++ b/lib/batch.lib.php
@@ -23,8 +23,7 @@
/**
* get_song_files
- * tmakes array of song ids and returns
- * array of path to actual files
+ * Takes an array of song ids and returns an array of the actual filenames
*/
function get_song_files($media_ids) {
@@ -57,13 +56,13 @@ function get_song_files($media_ids) {
*/
function send_zip( $name, $song_files ) {
- // Check if they want to save it to a file, if so then make sure they've got
- // a defined path as well and that it's writeable
+ // Check if they want to save it to a file, if so then make sure they've
+ // got a defined path as well and that it's writable.
if (Config::get('file_zip_download') && Config::get('file_zip_path')) {
// Check writeable
if (!is_writable(Config::get('file_zip_path'))) {
$in_memory = '1';
- debug_event('Error','File Zip Path:' . Config::get('file_zip_path') . ' is not writeable','1');
+ debug_event('Error','File Zip Path:' . Config::get('file_zip_path') . ' is not writable','1');
}
else {
$in_memory = '0';