Commit 85d6fd656aa473dd50b8aa2e0089e441f933dde9
1 parent
56475d09
Exists in
master
and in
7 other branches
Correção nos caminhos de include
Showing
3 changed files
with
6 additions
and
1 deletions
Show diff stats
classesphp/classe_analise.php
... | ... | @@ -103,7 +103,10 @@ $ext - Extensão geográfica do mapa |
103 | 103 | //error_reporting(E_ALL); |
104 | 104 | $this->qyfile = str_replace(".map",".qy",$map_file); |
105 | 105 | include_once(__DIR__."/funcoes_gerais.php"); |
106 | - $this->v = versao(); | |
106 | + if(empty($locaplic)){ | |
107 | + $locaplic = __DIR__."/.."; | |
108 | + } | |
109 | + $this->v = versao(); | |
107 | 110 | $this->v = $this->v["principal"]; |
108 | 111 | $this->dbaseExiste = false; |
109 | 112 | if(function_exists("dbase_create")) | ... | ... |
ferramentas/gradehex/index.js
... | ... | @@ -179,6 +179,7 @@ i3GEOF.gradeDeHex = { |
179 | 179 | ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiys' title='segundo' type=text size=5 value='00.00'/>"; |
180 | 180 | g_tipoacao = "capturaponto"; |
181 | 181 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t1()","i3GEOF.gradeDeHex.t3()",ins,"i3GEOF.gradeDeHex.t2","i3GEOgradedehexresultado"); |
182 | + i3GEO.eventos.cliquePerm.desativa(); | |
182 | 183 | if(i3GEO.eventos.MOUSECLIQUE.toString().search("i3GEOF.gradeDeHex.capturaPonto()") < 0) |
183 | 184 | {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.gradeDeHex.capturaPonto()");} |
184 | 185 | }, | ... | ... |
ferramentas/gradepontos/index.js
... | ... | @@ -178,6 +178,7 @@ i3GEOF.gradeDePontos = { |
178 | 178 | ins += "Segundo<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedepontosiys' title='segundo' type=text size=5 value='00.00'/>"; |
179 | 179 | g_tipoacao = "capturaponto"; |
180 | 180 | i3GEO.util.proximoAnterior("i3GEOF.gradeDePontos.t1()","i3GEOF.gradeDePontos.t3()",ins,"i3GEOF.gradeDePontos.t2","i3GEOgradedepontosresultado"); |
181 | + i3GEO.eventos.cliquePerm.desativa(); | |
181 | 182 | if(i3GEO.eventos.MOUSECLIQUE.toString().search("i3GEOF.gradeDePontos.capturaPonto()") < 0) |
182 | 183 | {i3GEO.eventos.MOUSECLIQUE.push("i3GEOF.gradeDePontos.capturaPonto()");} |
183 | 184 | }, | ... | ... |