Commit 41877b0b840b3e2acc66756a06e7d0c3a55f5031

Authored by Edmar Moretti
1 parent 3c3244b1

--no commit message

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
@@ -97,6 +97,8 @@ if($lista == "temas") @@ -97,6 +97,8 @@ if($lista == "temas")
97 //cria o web service 97 //cria o web service
98 // 98 //
99 include("classesphp/funcoes_gerais.php"); 99 include("classesphp/funcoes_gerais.php");
  100 +$versao = versao();
  101 +$versao = $versao["principal"];
100 $req = ms_newowsrequestobj(); 102 $req = ms_newowsrequestobj();
101 $tipo = ""; 103 $tipo = "";
102 $_GET = array_merge($_GET,$_POST); 104 $_GET = array_merge($_GET,$_POST);
@@ -120,7 +122,7 @@ if(isset($tema) && $tipo != "metadados") @@ -120,7 +122,7 @@ if(isset($tema) && $tipo != "metadados")
120 {$tipo = "";} 122 {$tipo = "";}
121 if(!isset($version)) 123 if(!isset($version))
122 {$req->setParameter("VeRsIoN","1.1.0");} 124 {$req->setParameter("VeRsIoN","1.1.0");}
123 -$oMap = ms_newMapobj("aplicmap/ogcws.map"); 125 +$oMap = ms_newMapobj("aplicmap/ogcwsv".$versao.".map");
124 // 126 //
125 //altera os caminhos das imagens 127 //altera os caminhos das imagens
126 // 128 //