From 9c9494abd3f7dde988f999631dca3cc53af393ac Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 10 Nov 2011 11:11:55 +0000 Subject: [PATCH] --- admin/php/xml.php | 3 ++- classesphp/mapa_openlayers.php | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/admin/php/xml.php b/admin/php/xml.php index 159f846..7586829 100644 --- a/admin/php/xml.php +++ b/admin/php/xml.php @@ -399,6 +399,7 @@ RSS */ function geraXmlRSS($locaplic,$sql,$descricao) { + //var_dump($_SERVER);exit; $dbh = ""; include($locaplic."/admin/php/conexao.php"); if($convUTF) @@ -421,7 +422,7 @@ function geraXmlRSS($locaplic,$sql,$descricao) $xml .= "\n"; $xml .= "".entity_decode($row["nome_ws"])."\n"; $xml .= "".entity_decode($row["desc_ws"])."\n"; - $xml .= "".xmlTexto_prepara($row["link_ws"])."\n"; + $xml .= "http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["REQUEST_URI"])."/".xmlTexto_prepara($row["link_ws"])."\n"; $xml .= "\n"; $xml .= "".xmlTexto_prepara($row["autor_ws"])."\n"; $xml .= "\n"; diff --git a/classesphp/mapa_openlayers.php b/classesphp/mapa_openlayers.php index 685e2c5..95901d8 100644 --- a/classesphp/mapa_openlayers.php +++ b/classesphp/mapa_openlayers.php @@ -114,6 +114,8 @@ if($qy) $shp = unserialize($conteudo); foreach ($shp as $indx) {$mapa->querybyindex($indxlayer,-1,$indx,MS_TRUE);} + + //$mapa->loadquery(str_replace(".map",".qy",$map_fileX); } if(!isset($_GET["telaR"])){//no caso de projecoes remotas, o mapfile nao e alterado $numlayers = $mapa->numlayers; -- libgit2 0.21.2