From c79fc30debdfc23c5d65b8a8c43f16d0899cee2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 4 Aug 2011 14:21:27 +0200 Subject: [PATCH] Use new function for download headers --- libraries/schema/Svg_Relation_Schema.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/schema/Svg_Relation_Schema.class.php b/libraries/schema/Svg_Relation_Schema.class.php index c845efe937..71f93c606d 100644 --- a/libraries/schema/Svg_Relation_Schema.class.php +++ b/libraries/schema/Svg_Relation_Schema.class.php @@ -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; }