Project

General

Profile

« Previous | Next » 

Revision 1b5f4b20

Added by Lorna Morris about 12 years ago

linked out_file_url to distribution file

View differences:

7.x/modules/dwca_export/dwca_export.module
244 244
		
245 245
		//TODO: Change this - it's not very generic and will not work if we add new types to FILE_MAP
246 246
		if (($file_name == 'classification') || ($file_name == 'typesandspecimen') ||
247
				 ($file_name == 'reference') || ($file_name == 'image')) {
247
				 ($file_name == 'reference') || ($file_name == 'image' || ($file_name == 'distribution')) {
248 248
			
249 249
			$file_map[$file_name]['out_file_url'] = $out_file_url;
250 250
			
......
414 414
		fclose($descTypeFile);
415 415

  
416 416
		//currently also adding each individual desc type to archive
417
		_dwca_export_add_files_to_zip($view_temp_file, $type, $zip);
417
		//_dwca_export_add_files_to_zip($view_temp_file, $type, $zip);
418 418
	}
419 419
	fclose($desc_file);
420 420

  

Also available in: Unified diff