Commit 41877b0b840b3e2acc66756a06e7d0c3a55f5031
1 parent
3c3244b1
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
ogc.php
... | ... | @@ -97,6 +97,8 @@ if($lista == "temas") |
97 | 97 | //cria o web service |
98 | 98 | // |
99 | 99 | include("classesphp/funcoes_gerais.php"); |
100 | +$versao = versao(); | |
101 | +$versao = $versao["principal"]; | |
100 | 102 | $req = ms_newowsrequestobj(); |
101 | 103 | $tipo = ""; |
102 | 104 | $_GET = array_merge($_GET,$_POST); |
... | ... | @@ -120,7 +122,7 @@ if(isset($tema) && $tipo != "metadados") |
120 | 122 | {$tipo = "";} |
121 | 123 | if(!isset($version)) |
122 | 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 | 127 | //altera os caminhos das imagens |
126 | 128 | // | ... | ... |