Commit 47a30c6289ead9c1dbd428767830896b3fe9d607
1 parent
eb477cc2
Exists in
master
Alteração do código para permitir o uso de interfaces que estejam apenas na pasta interface
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
interface/black_ol.htm
@@ -231,7 +231,8 @@ | @@ -231,7 +231,8 @@ | ||
231 | i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm, tms, | 231 | i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm, tms, |
232 | bra ]; | 232 | bra ]; |
233 | })(); | 233 | })(); |
234 | - | 234 | + //i3GEO.configura.guardaExtensao = false; |
235 | + //i3GEO.configura.mashuppar = "&mapext=-75 -22 -40 7"; | ||
235 | i3GEO.inicia(); | 236 | i3GEO.inicia(); |
236 | </script> | 237 | </script> |
237 | </body> | 238 | </body> |
ms_criamapa.php
@@ -733,8 +733,6 @@ function abreInterface($interface,$caminho,$tempo){ | @@ -733,8 +733,6 @@ function abreInterface($interface,$caminho,$tempo){ | ||
733 | if (count(explode(".php",$interface)) > 1){ | 733 | if (count(explode(".php",$interface)) > 1){ |
734 | if(file_exists($caminho."interface/".$interface)) | 734 | if(file_exists($caminho."interface/".$interface)) |
735 | {include_once($caminho."interface/".$interface);} | 735 | {include_once($caminho."interface/".$interface);} |
736 | - else | ||
737 | - {include_once($interface);} | ||
738 | exit; | 736 | exit; |
739 | } | 737 | } |
740 | else{ | 738 | else{ |