Permalink
Browse files

Fixed content type when map isn't cached

  • Loading branch information...
1 parent 12ba577 commit db1473f749c19fc880f9fa5876cd4bcacec909a5 @TimothyJones TimothyJones committed Dec 8, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 map/drawMap.php
View
@@ -889,6 +889,7 @@ public function write($filename)
*/
public function writeToBrowser()
{
+ header('Content-Type: image/png');
imagepng($this->map['image']);
}

0 comments on commit db1473f

Please sign in to comment.