Commit f0606edf8ed68de396131b6c3c46c5a1a968413d
1 parent
32aa29e3
Exists in
master
Validacao do uso da ferramenta melhorcaminho
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
ferramentas/melhorcaminho/exec.php
1 | 1 | <?php |
2 | 2 | include_once(dirname(__FILE__)."/../safe.php"); |
3 | +if($statusFerramentas["melhorcaminho"] != true){ | |
4 | + exit; | |
5 | +); | |
3 | 6 | // |
4 | 7 | //faz a busca da função que deve ser executada |
5 | 8 | // |
... | ... | @@ -238,4 +241,4 @@ if(isset($map_file) && isset($postgis_mapa) && $map_file != ""){ |
238 | 241 | restauraCon($map_file,$postgis_mapa); |
239 | 242 | } |
240 | 243 | cpjson($retorno); |
241 | -?> | |
242 | 244 | \ No newline at end of file |
245 | +?> | ... | ... |