diff --git a/testamapfile.php b/testamapfile.php index dc2e9eb..1ab749b 100644 --- a/testamapfile.php +++ b/testamapfile.php @@ -118,11 +118,16 @@ function verifica($map) return; } $temasn = $nmapa->getAllLayerNames(); + $dados = ""; foreach ($temasn as $teman) { $layern = $nmapa->getLayerByName($teman); $layern->set("status",MS_DEFAULT); ms_newLayerObj($mapa, $layern); + if ($layern->data == "") + $dados = $layern->connection; + else + $dados = $layern->data; } if (isset($postgis_mapa)) { @@ -169,6 +174,10 @@ function verifica($map) if(($tipo == "") || ($tipo == "todos")) { echo ""; + if($tipo == "todos") + { + echo "
".$dados."
"; + } if($map != "todos") { echo "
Erros:
"; -- libgit2 0.21.2