Commit 6a2763c64e0fa170f87a44ae1d20790d526be7ff
1 parent
8cc71afa
Exists in
master
and in
7 other branches
Inclusão de utf8_encode na função que obtém os valores dos plugins i3Geo
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
ferramentas/parametrossql/exec.php
@@ -70,7 +70,7 @@ switch (strtoupper($funcao)) | @@ -70,7 +70,7 @@ switch (strtoupper($funcao)) | ||
70 | $retorno = "erro"; | 70 | $retorno = "erro"; |
71 | } | 71 | } |
72 | if($c != ""){ | 72 | if($c != ""){ |
73 | - $cs = json_decode($c,true); | 73 | + $cs = json_decode(utf8_encode($c),true); |
74 | $cs = $cs["parametros"]; | 74 | $cs = $cs["parametros"]; |
75 | $chaves = array(); | 75 | $chaves = array(); |
76 | foreach($cs as $c){ | 76 | foreach($cs as $c){ |
interface/openlayersdebug.htm
@@ -612,7 +612,7 @@ | @@ -612,7 +612,7 @@ | ||
612 | //Cada layer corresponde ao nome do mapfile existente na pasta i3geo/temas sem a extensao '.map' | 612 | //Cada layer corresponde ao nome do mapfile existente na pasta i3geo/temas sem a extensao '.map' |
613 | layers : { | 613 | layers : { |
614 | //array com a lista dos layers que serao adicionados e ligados (visiveis) | 614 | //array com a lista dos layers que serao adicionados e ligados (visiveis) |
615 | - add : [], | 615 | + add : ["_llocaliphp"], |
616 | //array com a lista dos layers que serao adicionados mas nao ligados | 616 | //array com a lista dos layers que serao adicionados mas nao ligados |
617 | on : [], | 617 | on : [], |
618 | //array com os layers desligados | 618 | //array com os layers desligados |
temas/_llocaliphp.map
@@ -7,7 +7,7 @@ MAP | @@ -7,7 +7,7 @@ MAP | ||
7 | FILTER (([ANOCRIA] = subsano)) | 7 | FILTER (([ANOCRIA] = subsano)) |
8 | METADATA | 8 | METADATA |
9 | "METAESTAT_ID_MEDIDA_VARIAVEL" "" | 9 | "METAESTAT_ID_MEDIDA_VARIAVEL" "" |
10 | - "cache" "SIM" | 10 | + "cache" "NAO" |
11 | "LTEMPOITEMIMAGEM" "" | 11 | "LTEMPOITEMIMAGEM" "" |
12 | "TIP" "TIPO,NOMELOC,ANOCRIA" | 12 | "TIP" "TIPO,NOMELOC,ANOCRIA" |
13 | "olopacity" "" | 13 | "olopacity" "" |