From 079f9da30ec5a30449fc6f547c812cde484e3402 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 14 Oct 2010 14:42:10 +0000 Subject: [PATCH] Ajuste para permitir a definição da versão do serviço via parâmetro --- ogc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ogc.php b/ogc.php index 1beb8dc..c1ac322 100644 --- a/ogc.php +++ b/ogc.php @@ -116,7 +116,8 @@ if(count($_GET) == 0){ } if(isset($tema) && $tipo != "metadados") {$tipo = "";} -$req->setParameter("VeRsIoN","1.1.0"); +if(!isset($version)) +{$req->setParameter("VeRsIoN","1.1.0");} $oMap = ms_newMapobj("aplicmap/ogcws.map"); // //altera os caminhos das imagens -- libgit2 0.21.2