Ola não estou conseguindo fazer a substituição da string de conexão com o postgis.
estou usando a versão 4.4 e quando uso a variável setada no ms_configura.php chamada $postgis_mapa ele me retorna esse erro:
Problemas ao gerar o mapa Error in %s: %s msDrawMap()Failed to draw layer named 'asvs'. Error in %s: %s msPostGISLayerOpen()Database connection failed (missing "=" after "conn" in connection info string ) with connect string 'conn' Is the database running? Is it allowing connections? Does the specified user exist? Is the password valid? Is the database on the standard port?
Autor: jefferson bernardino

1Um comentário
veja abaixo ERRADO
if ($layern->connection == " " || $layern->connection == "")
{
if(!is_array($postgis_mapa))
$l->set("connection",$postgis_mapa);
else
$l->set("connection",$postgis_mapa[$l->connection]);
} CERTO
if ($layern->connection == " " || $layern->connection == "")
{
if(!is_array($postgis_mapa))
$layern->set("connection",$postgis_mapa);
else
$layern->set("connection",$postgis_mapa[$l->connection]);
}