- Timestamp:
- Jul 11, 2012, 3:06:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/BatchDownloader.class.php
r16609 r16622 330 330 $total_size = 0; 331 331 foreach ($images_to_add as $row) 332 { 333 $zip->addFile(PHPWG_ROOT_PATH . $row['path'], $row['id'].'_'. $row['name'].'.'.get_extension($row['file']));332 { 333 $zip->addFile(PHPWG_ROOT_PATH . $row['path'], $row['id'].'_'.str2url($row['name']).'.'.get_extension($row['file'])); 334 334 335 335 array_push($images_added, $row['id']); … … 344 344 // archive comment 345 345 global $conf; 346 $comment = 'Generated on '.date('r').' with PHP ZipArchive '.PHP_VERSION.' by Piwigo AdvancedDownloader.';346 $comment = 'Generated on '.date('r').' with PHP ZipArchive '.PHP_VERSION.' by Piwigo Batch Downloader.'; 347 347 $comment.= "\n".$conf['gallery_title'].' - '.get_absolute_root_url(); 348 348 if (!empty($this->conf['archive_comment']))
Note: See TracChangeset
for help on using the changeset viewer.