Commit 1cd4c0f9d004471beb716633777f30dbf63e972d
1 parent
c8783267
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
admin/php/ogcws.php
@@ -41,7 +41,9 @@ include_once("admin.php"); | @@ -41,7 +41,9 @@ include_once("admin.php"); | ||
41 | if(verificaEditores($editores) == "nao") | 41 | if(verificaEditores($editores) == "nao") |
42 | {echo "Vc nao e um editor cadastrado. Apenas os editores definidos em i3geo/ms_configura.php podem acessar o sistema de administracao.";exit;} | 42 | {echo "Vc nao e um editor cadastrado. Apenas os editores definidos em i3geo/ms_configura.php podem acessar o sistema de administracao.";exit;} |
43 | //error_reporting(E_ALL); | 43 | //error_reporting(E_ALL); |
44 | -$map_file = $locaplic."/aplicmap/ogcws.map"; | 44 | +$versao = versao(); |
45 | +$map_file = $locaplic."/aplicmap/ogcwsv".$versao["principal"].".map"; | ||
46 | + | ||
45 | $mapa = ms_newMapObj($map_file); | 47 | $mapa = ms_newMapObj($map_file); |
46 | $web = $mapa->web; | 48 | $web = $mapa->web; |
47 | //faz a busca da função que deve ser executada | 49 | //faz a busca da função que deve ser executada |