Commit 45e2567e274edee9aafc103c5559d3221f7f5f0b
1 parent
2895e364
Exists in
master
and in
7 other branches
Correção na obtenção da variável $ogcwsmap que estava anulando a definição vinda do ms_configura.php
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
ogc.php
| ... | ... | @@ -388,8 +388,9 @@ $nomeMapfileTmp = $dir_tmp."/ogc_".md5(implode("",$arrayget))."_".$agora.".map"; |
| 388 | 388 | |
| 389 | 389 | //essa variavel e usada para definir se a imagem final gerada devera ser cortada ou nao |
| 390 | 390 | $cortePixels = 0; |
| 391 | -$ogcwsmap = $_GET["ogcwsmap"]; | |
| 392 | - | |
| 391 | +if(empty($ogcwsmap)){ | |
| 392 | + $ogcwsmap = $_GET["ogcwsmap"]; | |
| 393 | +} | |
| 393 | 394 | if(file_exists($nomeMapfileTmp) && $tipo == ""){ |
| 394 | 395 | //substituiCon($nomeMapfileTmp,$postgis_mapa); |
| 395 | 396 | //$oMap = ms_newMapobj($nomeMapfileTmp); | ... | ... |