fixed content type header
This commit is contained in:
parent
3ec07d58b7
commit
4fd6492bc9
1 changed files with 1 additions and 1 deletions
2
svg.php
2
svg.php
|
@ -63,7 +63,7 @@ class SVG {
|
||||||
*/
|
*/
|
||||||
public function out() {
|
public function out() {
|
||||||
$this->setStyle();
|
$this->setStyle();
|
||||||
header('image/svg+xml');
|
header('Content-Type: image/svg+xml');
|
||||||
echo $this->xml->asXML();
|
echo $this->xml->asXML();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue