Commit 34ba15add4a952764e68ac80e794f47691c62c94
1 parent
54250e71
Exists in
master
remoção de parâmetros antigos não utilizados mais nos mapas
Showing
1 changed file
with
10 additions
and
6 deletions
Show diff stats
classesphp/mapa_inicia.php
| ... | ... | @@ -341,20 +341,24 @@ function iniciaMapa() |
| 341 | 341 | $res["mapscale"] = $escalaMapa; |
| 342 | 342 | $res["mapres"] = $m->mapa->resolution; |
| 343 | 343 | $res["pixelsize"] = $celula; |
| 344 | + //TODO depreciar na documentacao e ms_configura | |
| 345 | + /* | |
| 344 | 346 | if ((isset($expoeMapfile)) && ($expoeMapfile == "nao")) |
| 345 | 347 | {$res["mapfile"] = "";} |
| 346 | 348 | else |
| 347 | 349 | {$res["mapfile"] = $map_file;} |
| 348 | - | |
| 349 | - $res["cgi"] = $locmapserv; | |
| 350 | + */ | |
| 351 | + $res["mapfile"] = ""; | |
| 352 | + $res["cgi"] = "";//$locmapserv; | |
| 350 | 353 | $res["extentTotal"] = $ext; |
| 351 | - $res["mapimagem"] = $nomer; | |
| 354 | + $res["mapimagem"] = "";//$nomer; | |
| 352 | 355 | $geoip = "nao"; |
| 353 | 356 | if (file_exists($locaplic."/pacotes/geoip") && file_exists($locaplic."/pacotes/geoip/GeoLiteCity.dat")) |
| 354 | 357 | {$geoip = "sim";} |
| 355 | 358 | $res["geoip"] = $geoip; |
| 356 | 359 | $res["listavisual"] = (file_exists($locaplic."/imagens/visual")) ? implode(",",listaDiretorios($locaplic."/imagens/visual")) : ""; |
| 357 | - $res["utilizacgi"] = $utilizacgi; | |
| 360 | + //TODO depreciar na documentacao | |
| 361 | + $res["utilizacgi"] = "nao";//$utilizacgi; | |
| 358 | 362 | $res["versaoms"] = $versao["principal"]; |
| 359 | 363 | $res["versaomscompleta"] = $versao["completa"]; |
| 360 | 364 | $res["mensagens"] = $m->pegaMensagens(); |
| ... | ... | @@ -370,8 +374,8 @@ function iniciaMapa() |
| 370 | 374 | $res["tempo"] = microtime(1) - $tempo; |
| 371 | 375 | $res["embedLegenda"] = $embedLegenda; |
| 372 | 376 | $res["erro"] = ''; |
| 373 | - $res["mappath"] = $imgo->imagepath; | |
| 374 | - $res["mapurl"] = $imgo->imageurl; | |
| 377 | + $res["mappath"] = "";//$imgo->imagepath; | |
| 378 | + $res["mapurl"] = "";//$imgo->imageurl; | |
| 375 | 379 | $res["navegacaoDir"] = $navegadoresLocais; |
| 376 | 380 | if($openid == true) |
| 377 | 381 | {$res["autenticadoopenid"] = "sim";} | ... | ... |