From: Rob H. <for...@us...> - 2002-01-07 07:14:44
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv8988/lib/SandWeb Modified Files: File.pm Log Message: implemented a temporary solution for download in the view_file template; I disabled the download pulldown that's on the browse menu for now. The problem is that the way I'm passing the filename seems to require that it's an <A HREF> rather than a <FORM>. ack. Index: File.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/File.pm,v retrieving revision 1.28 retrieving revision 1.29 diff -U2 -r1.28 -r1.29 --- File.pm 2002/01/02 23:42:25 1.28 +++ File.pm 2002/01/07 07:14:41 1.29 @@ -145,5 +145,5 @@ } - print "content-type:$mime_type\n\n"; + print "Content-Type:$mime_type\n\n"; if (open FILE,"< $location/$filename") { @@ -308,5 +308,4 @@ 'rename', 'upload', - 'download', ); } |