From 1cd4c0f9d004471beb716633777f30dbf63e972d Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Sat, 10 Sep 2011 20:46:22 +0000 Subject: [PATCH] --- admin/php/ogcws.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/php/ogcws.php b/admin/php/ogcws.php index 7d774ec..7130979 100644 --- a/admin/php/ogcws.php +++ b/admin/php/ogcws.php @@ -41,7 +41,9 @@ include_once("admin.php"); if(verificaEditores($editores) == "nao") {echo "Vc nao e um editor cadastrado. Apenas os editores definidos em i3geo/ms_configura.php podem acessar o sistema de administracao.";exit;} //error_reporting(E_ALL); -$map_file = $locaplic."/aplicmap/ogcws.map"; +$versao = versao(); +$map_file = $locaplic."/aplicmap/ogcwsv".$versao["principal"].".map"; + $mapa = ms_newMapObj($map_file); $web = $mapa->web; //faz a busca da função que deve ser executada -- libgit2 0.21.2