Changeset 17656 for extensions/BatchDownloader/include
- Timestamp:
- Aug 29, 2012, 5:11:53 PM (12 years ago)
- Location:
- extensions/BatchDownloader/include
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/BatchDownloader.class.php
r17517 r17656 325 325 foreach ($images_to_add as $row) 326 326 { 327 $zip->addFile(PHPWG_ROOT_PATH . $row['path'], $row['id'].'_'. str2url($row['name']).'.'.get_extension($row['file']));327 $zip->addFile(PHPWG_ROOT_PATH . $row['path'], $row['id'].'_'.get_filename_wo_extension($row['file']).'.'.get_extension($row['path'])); 328 328 329 329 array_push($images_added, $row['id']); -
extensions/BatchDownloader/include/events.inc.php
r17517 r17656 3 3 4 4 # this file contains all functions directly called by the triggers # 5 6 /* unserialize conf and load language */7 function batch_download_init()8 {9 global $conf;10 11 $conf['batch_download'] = unserialize($conf['batch_download']);12 load_language('plugin.lang', BATCH_DOWNLOAD_PATH);13 }14 15 5 16 6 /* define page section from url */
Note: See TracChangeset
for help on using the changeset viewer.