Commit de406f06b01d26c49805a79586ad17bb5efb49b8
1 parent
262fca4e
Exists in
master
and in
7 other branches
Adicionado o include do programa carrega_ext.php
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
ogc.php
... | ... | @@ -62,6 +62,7 @@ if (!function_exists('ms_GetVersion')) |
62 | 62 | else |
63 | 63 | {dl('php_mapscript.so');} |
64 | 64 | } |
65 | +require_once("classesphp/carrega_ext.php"); | |
65 | 66 | include("ms_configura.php"); |
66 | 67 | include("classesphp/pega_variaveis.php"); |
67 | 68 | //pega a lista de grupos |
... | ... | @@ -187,7 +188,7 @@ else |
187 | 188 | { |
188 | 189 | foreach($sgrupo->TEMA as $tm) |
189 | 190 | { |
190 | - if (mb_convert_encoding($tm->OGC,"HTML-ENTITIES","auto") == "") | |
191 | + if (iXml($tm->OGC,"OGC") == "") | |
191 | 192 | { |
192 | 193 | if (@ms_newMapobj("temas/".(mb_convert_encoding($tm->TID,"HTML-ENTITIES","auto")).".map")) |
193 | 194 | { |
... | ... | @@ -201,7 +202,7 @@ else |
201 | 202 | if (($conta >= $int[0]) && ($conta <= $int[1])) |
202 | 203 | { |
203 | 204 | $l = $nmap->getlayerbyname($t); |
204 | - $l->setmetadata("ows_title",mb_convert_encoding(pegaNome($l),"HTML-ENTITIES","auto")); | |
205 | + $l->setmetadata("ows_title",pegaNome($l));//mb_convert_encoding(pegaNome($l),"HTML-ENTITIES","auto")); | |
205 | 206 | $l->setmetadata("ows_srs","EPSG:4291 EPSG:4326"); |
206 | 207 | $l->set("status",MS_OFF); |
207 | 208 | $l->setmetadata("gml_include_items","all"); | ... | ... |