Use new function for download headers

This commit is contained in:
Michal Čihař 2011-08-04 14:21:01 +02:00
parent 7afe37b0a5
commit b68145bf88

View File

@ -333,8 +333,7 @@ class PMA_EPS
// if(ob_get_clean()){
//ob_end_clean();
//}
header('Content-type: image/x-eps');
header('Content-Disposition: attachment; filename="'.$fileName.'.eps"');
PMA_download_header($fileName . '.eps', 'image/x-eps');
$output = $this->stringCommands;
print $output;
}