Commit aeda396c1988f6264f031741d50437840486c2bf
1 parent
dcf0bcb6
Exists in
master
and in
7 other branches
correção na conexão com banco de dados
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ms_registraip.php
| ... | ... | @@ -69,7 +69,7 @@ if (file_exists($locaplic."/pacotes/geoip") && file_exists($locaplic."/pacotes/g |
| 69 | 69 | { |
| 70 | 70 | $r["latitude"] = ""; |
| 71 | 71 | require_once($locaplic."/classesphp/funcoes_gerais.php"); |
| 72 | - $conexao = "host=10.1.1.36 port=5432 dbname=geodados user=pgsql password=pgsql"; | |
| 72 | + $conexao = "host=pgsql1.mma.gov.br port=5432 dbname=geodados user=pgsql password=pgsql"; | |
| 73 | 73 | //identifica o IP do usuário |
| 74 | 74 | $ip = pegaIPcliente(); |
| 75 | 75 | //$ip="200.252.111.1"; | ... | ... |