diff php/download.php @ 15:f17f43f0a63f

bug fixed: download error for data from LGDataverse
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Fri, 30 Oct 2015 16:47:15 +0100
parents 389cf726303e
children
line wrap: on
line diff
--- a/php/download.php	Wed Oct 28 12:02:37 2015 +0100
+++ b/php/download.php	Fri Oct 30 16:47:15 2015 +0100
@@ -28,7 +28,7 @@
 	$mime = array('application/octet-stream');
 	
 	header('Content-Type: '.$mime);
-	header('Content-Disposition: attachment; filename="test.kml"');
+	header('Content-Disposition: attachment; filename="download.kml"');
 	header('Content-Transfer-Encoding: binary');
 	header('Content-Length: '.sprintf('%d', $filesize));
 	header('Expires: 0');