Commit f0606edf8ed68de396131b6c3c46c5a1a968413d

Authored by Edmar Moretti
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 <?php 1 <?php
2 include_once(dirname(__FILE__)."/../safe.php"); 2 include_once(dirname(__FILE__)."/../safe.php");
  3 +if($statusFerramentas["melhorcaminho"] != true){
  4 + exit;
  5 +);
3 // 6 //
4 //faz a busca da fun&ccedil;&atilde;o que deve ser executada 7 //faz a busca da fun&ccedil;&atilde;o que deve ser executada
5 // 8 //
@@ -238,4 +241,4 @@ if(isset($map_file) &amp;&amp; isset($postgis_mapa) &amp;&amp; $map_file != &quot;&quot;){ @@ -238,4 +241,4 @@ if(isset($map_file) &amp;&amp; isset($postgis_mapa) &amp;&amp; $map_file != &quot;&quot;){
238 restauraCon($map_file,$postgis_mapa); 241 restauraCon($map_file,$postgis_mapa);
239 } 242 }
240 cpjson($retorno); 243 cpjson($retorno);
241 -?>  
242 \ No newline at end of file 244 \ No newline at end of file
  245 +?>