Commit bd5ad289b79315f72b5e48f67d1e10c02316045a
1 parent
6de7457e
Exists in
master
and in
7 other branches
Alterados os caminhos dos menus de temas de relativos para absolutos, evitando-s…
…e problemas na geração de serviços kml.
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
ms_configura.php
... | ... | @@ -213,6 +213,8 @@ if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) |
213 | 213 | |
214 | 214 | Para mais detalhes veja a documentação específica do arquivo menutemas/menutemas.xml |
215 | 215 | |
216 | + Utilize o caminho completo no servidor para o nome dos wml, assim vc evita problemas em serviços do tipo kml e ogc | |
217 | + | |
216 | 218 | Example: |
217 | 219 | |
218 | 220 | $menutemas = array( |
... | ... | @@ -223,8 +225,8 @@ if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) |
223 | 225 | Para usar o menu default, utilize apenas $menutemas = ""; |
224 | 226 | */ |
225 | 227 | $menutemas = array( |
226 | - array("idmenu"=>"GEOPR","arquivo"=>"../menutemas/geopr.xml","status"=>"fechado"), | |
227 | - array("idmenu"=>"i3Geo","arquivo"=>"../menutemas/menutemas.xml","status"=>"aberto") | |
228 | + array("idmenu"=>"GEOPR","arquivo"=>"C:/ms4w/Apache/htdocs/i3geo/menutemas/geopr.xml","status"=>"fechado"), | |
229 | + array("idmenu"=>"i3Geo","arquivo"=>"C:/ms4w/Apache/htdocs/i3geo/menutemas/menutemas.xml","status"=>"aberto") | |
228 | 230 | ); |
229 | 231 | /* |
230 | 232 | Variable: $utilizacgi |
... | ... | @@ -273,12 +275,10 @@ else //se for linux |
273 | 275 | $postgis_con = ""; |
274 | 276 | $srid_area = 1; |
275 | 277 | $postgis_mapa = ""; |
276 | - /* | |
277 | 278 | $menutemas = array( |
278 | - array("idmenu"=>1,"arquivo"=>"http://mapas.mma.gov.br/i3geo/menutemas/menutemas.xml") | |
279 | + array("idmenu"=>"GEOPR","arquivo"=>"/opt/www/html/i3geo/menutemas/geopr.xml","status"=>"fechado"), | |
280 | + array("idmenu"=>"i3Geo","arquivo"=>"/opt/www/html/i3geo/menutemas/menutemas.xml","status"=>"aberto") | |
279 | 281 | ); |
280 | - */ | |
281 | - $menutemas = ""; | |
282 | 282 | $utilizacgi = "sim"; |
283 | 283 | $atlasxml = "../menutemas/atlas.xml"; |
284 | 284 | $expoeMapfile = "sim"; | ... | ... |