Commit 1d0367e381b25dee94317845add01855597f36d3

Authored by Edmar Moretti
1 parent 53ac5003

Remoção da compactação zlib que estava apresentando erros na carga de wms

classesphp/funcoes_gerais.php
@@ -2275,12 +2275,12 @@ function echojson($a) @@ -2275,12 +2275,12 @@ function echojson($a)
2275 //ob_clean(); 2275 //ob_clean();
2276 error_reporting(0); 2276 error_reporting(0);
2277 ob_end_clean(); 2277 ob_end_clean();
2278 - if(extension_loaded('zlib'))  
2279 - {ob_start('ob_gzhandler');} 2278 + //if(extension_loaded('zlib'))
  2279 + //{ob_start('ob_gzhandler');}
2280 header("Content-type: text/html"); 2280 header("Content-type: text/html");
2281 echo $a; 2281 echo $a;
2282 - if(extension_loaded('zlib'))  
2283 - {ob_end_flush();} 2282 + //if(extension_loaded('zlib'))
  2283 + //{ob_end_flush();}
2284 exit; 2284 exit;
2285 } 2285 }
2286 /* 2286 /*
classesphp/mapa_controle.php
@@ -1664,7 +1664,7 @@ switch (strtoupper($funcao)) @@ -1664,7 +1664,7 @@ switch (strtoupper($funcao))
1664 include_once("wmswfs.php"); 1664 include_once("wmswfs.php");
1665 restauraCon($map_file,$postgis_mapa); 1665 restauraCon($map_file,$postgis_mapa);
1666 $retorno = temaswms(); 1666 $retorno = temaswms();
1667 - break; 1667 + break;
1668 /* 1668 /*
1669 Valor: LISTALAYERSWMS 1669 Valor: LISTALAYERSWMS
1670 1670