Changeset 23280 for extensions/BatchDownloader/main.inc.php
- Timestamp:
- Jun 17, 2013, 2:46:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/main.inc.php
r23167 r23280 4 4 Version: auto 5 5 Description: Allows users to download pictures sets in ZIP. Compatible with User Collections. 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=6166 Plugin URI: auto 7 7 Author: Mistic 8 8 Author URI: http://www.strangeplanet.fr … … 11 11 /* 12 12 * advanced config: 13 * $conf['batch_download_max_elements'] max value of the elements slider (default 1000) 14 * $conf['batch_download_max_size'] max value of the size slider (default 500) 15 * $conf['batch_download_force_pclzip'] if true, force the usage of PclZip instead of ZipArchive 16 * $conf['batch_download_direct'] if true, the download script will redirect to the zip instead of deliver it through PHP 13 * $conf['batch_download_max_elements'] max value of the elements slider (default 1000) 14 * $conf['batch_download_max_size'] max value of the size slider (default 500) 15 * $conf['batch_download_force_pclzip'] if true, force the usage of PclZip instead of ZipArchive 16 * $conf['batch_download_direct'] if true, the download script will redirect to the zip instead of deliver it through PHP 17 * $conf['batch_download_additional_ext'] array containing downloadable filetypes (case sensitive), default is $conf['picture_ext'] 17 18 */ 18 19 … … 91 92 92 93 $conf['batch_download'] = unserialize($conf['batch_download']); 94 $conf['batch_download']['allowed_ext'] = $conf['picture_ext']; 95 if (!empty($conf['batch_download_additional_ext'])) 96 { 97 $conf['batch_download']['allowed_ext'] = array_merge($conf['batch_download']['allowed_ext'], $conf['batch_download_additional_ext']); 98 } 99 93 100 load_language('plugin.lang', BATCH_DOWNLOAD_PATH); 94 101 }
Note: See TracChangeset
for help on using the changeset viewer.