Use new function for download headers
This commit is contained in:
parent
7afe37b0a5
commit
b68145bf88
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user