Commit d7c7debbac57f3c1140b4864897428882c3ad755

Authored by Edmar Moretti
1 parent 3e3784ce

--no commit message

classesjs/classe_configura.js
... ... @@ -649,6 +649,11 @@ i3GEO.configura =
649 649 id : "omenudataFerramentas14",
650 650 text : "<span class='i3GEOconeFerramenta i3GEOiconeAdd'></span>" + $trad("conexaoServicoGeo"),
651 651 url : "javascript:i3GEO.arvoreDeTemas.dialogo.conectaservico()"
  652 + },
  653 + {
  654 + id : "omenudataFerramentas9i",
  655 + text : "<span class='i3GEOconeFerramenta i3GEOiconeVinde'></span>" + $trad("x85"),
  656 + url : "javascript:i3GEO.arvoreDeTemas.dialogo.vinde()"
652 657 }
653 658 ]
654 659 ]
... ...
ferramentas/vinde/wmsindejson.php
... ... @@ -34,10 +34,11 @@ if(!file_exists($arq)){
34 34 }
35 35 $resultado = curl_exec($ch);
36 36 curl_close($ch);
37   -
38   - $fp = fopen($arq,"w");
39   - fwrite($fp,$resultado);
40   - fclose($fp);
  37 + if($resultado != ""){
  38 + $fp = fopen($arq,"w");
  39 + fwrite($fp,$resultado);
  40 + fclose($fp);
  41 + }
41 42 }
42 43 else{
43 44 $resultado = file_get_contents($arq);
... ...