Use new function for download headers
This commit is contained in:
parent
b68145bf88
commit
c79fc30deb
@ -168,8 +168,7 @@ class PMA_SVG extends XMLWriter
|
||||
function showOutput($fileName)
|
||||
{
|
||||
//ob_get_clean();
|
||||
header('Content-type: image/svg+xml');
|
||||
header('Content-Disposition: attachment; filename="'.$fileName.'.svg"');
|
||||
PMA_download_header($fileName . '.svg', 'image/svg+xml');
|
||||
$output = $this->flush();
|
||||
print $output;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user