Commit 189944ac045cbc5ada53e664b1b7adf81f2debb8
1 parent
8ca62571
Exists in
master
and in
6 other branches
Alteração no mapa_controle para evitar a substituição da string de conexão no início do programa
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
classesphp/mapa_controle.php
| @@ -278,10 +278,10 @@ if (! isset($locaplic)) { | @@ -278,10 +278,10 @@ if (! isset($locaplic)) { | ||
| 278 | // substitui a string de conexão | 278 | // substitui a string de conexão |
| 279 | // | 279 | // |
| 280 | if ($funcao != "recuperamapa" && $funcao != "TEMA2SLD") { | 280 | if ($funcao != "recuperamapa" && $funcao != "TEMA2SLD") { |
| 281 | - if (! substituiCon($map_file, $postgis_mapa)) { | ||
| 282 | - cpjson("erro", $cp); | ||
| 283 | - return; | ||
| 284 | - } | 281 | + //if (! substituiCon($map_file, $postgis_mapa)) { |
| 282 | + // cpjson("erro", $cp); | ||
| 283 | + // return; | ||
| 284 | + //} | ||
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | // | 287 | // |