Commit 9c9494abd3f7dde988f999631dca3cc53af393ac
1 parent
98bdcb42
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
admin/php/xml.php
... | ... | @@ -399,6 +399,7 @@ RSS |
399 | 399 | */ |
400 | 400 | function geraXmlRSS($locaplic,$sql,$descricao) |
401 | 401 | { |
402 | + //var_dump($_SERVER);exit; | |
402 | 403 | $dbh = ""; |
403 | 404 | include($locaplic."/admin/php/conexao.php"); |
404 | 405 | if($convUTF) |
... | ... | @@ -421,7 +422,7 @@ function geraXmlRSS($locaplic,$sql,$descricao) |
421 | 422 | $xml .= "<category/>\n"; |
422 | 423 | $xml .= "<title>".entity_decode($row["nome_ws"])."</title>\n"; |
423 | 424 | $xml .= "<description>".entity_decode($row["desc_ws"])."</description>\n"; |
424 | - $xml .= "<link>".xmlTexto_prepara($row["link_ws"])."</link>\n"; | |
425 | + $xml .= "<link>http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["REQUEST_URI"])."/".xmlTexto_prepara($row["link_ws"])."</link>\n"; | |
425 | 426 | $xml .= "<pubDate/>\n"; |
426 | 427 | $xml .= "<author>".xmlTexto_prepara($row["autor_ws"])."</author>\n"; |
427 | 428 | $xml .= "<nacessos></nacessos>\n"; | ... | ... |
classesphp/mapa_openlayers.php
... | ... | @@ -114,6 +114,8 @@ if($qy) |
114 | 114 | $shp = unserialize($conteudo); |
115 | 115 | foreach ($shp as $indx) |
116 | 116 | {$mapa->querybyindex($indxlayer,-1,$indx,MS_TRUE);} |
117 | + | |
118 | + //$mapa->loadquery(str_replace(".map",".qy",$map_fileX); | |
117 | 119 | } |
118 | 120 | if(!isset($_GET["telaR"])){//no caso de projecoes remotas, o mapfile nao e alterado |
119 | 121 | $numlayers = $mapa->numlayers; | ... | ... |