From 8b6b7fee958106396079255a6b451bef7d56c34e Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 31 Mar 2009 13:11:24 +0000 Subject: [PATCH] Correção na definição do tipo de imagem na geração de WMS (fixado em PNG) --- admin/php/editormapfile.php | 2 +- admin/php/parsemapfile.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/php/editormapfile.php b/admin/php/editormapfile.php index fd88e50..276a728 100644 --- a/admin/php/editormapfile.php +++ b/admin/php/editormapfile.php @@ -601,7 +601,7 @@ function pegaGeral() function alterarGeral() { global $dir_tmp,$testar,$codigoMap,$codigoLayer,$locaplic,$name,$projection,$sizeunits,$status,$toleranceunits,$tolerance,$symbolscale,$opacity,$offsite,$minscale,$maxscale,$labelsizeitem,$labelminscale,$labelmaxscale,$labelitem,$group,$filteritem,$type,$filter; - error_reporting(E_ALL); + error_reporting(0); $v = versao(); $dados = array(); diff --git a/admin/php/parsemapfile.php b/admin/php/parsemapfile.php index 9545791..177ec46 100644 --- a/admin/php/parsemapfile.php +++ b/admin/php/parsemapfile.php @@ -298,7 +298,7 @@ function mapfile() {$s = "default";} $xml .= "$v"; $xml .= "$e"; - $xml .= "$i"; + $xml .= "image/png"; $xml .= ""; $tagLegenda = ""; } -- libgit2 0.21.2