part of GNU patch#136, and more

This commit is contained in:
Miles Lott 2002-04-24 13:27:15 +00:00
parent 068b4bc3c1
commit 9567e30ea4

View File

@ -182,11 +182,12 @@
$buffer = $this->bo->export($conv_type,$cat_id);
if(($download == 'on') || ($o->type == 'pdb'))
if(($download == 'on') || ($conv_type == 'Palm_PDB'))
{
// filename, default application/octet-stream, length of file, default nocache True
$this->browser->content_header($tsvfilename,'application/octet-stream',strlen($buffer));
$this->browser->content_header($tsvfilename,'application/x-octet-stream',strlen($buffer));
echo $buffer;
exit;
}
else
{