From 3bfcb25956e61d9a546e7e479a49d01673ad2ecd Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Mon, 18 Mar 2013 00:12:45 +0000 Subject: [PATCH] Inclusão da validação da biblioteca php5-imagick --- classesphp/mapa_googlemaps.php | 2 +- classesphp/mapa_openlayers.php | 2 +- interface/openlayers.htm | 645 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- leiame.txt | 2 ++ testainstal.php | 1 + 5 files changed, 371 insertions(+), 281 deletions(-) diff --git a/classesphp/mapa_googlemaps.php b/classesphp/mapa_googlemaps.php index 1313a9b..e124c5c 100644 --- a/classesphp/mapa_googlemaps.php +++ b/classesphp/mapa_googlemaps.php @@ -297,7 +297,7 @@ else{ fpassthru(fopen($nomer, 'rb')); } else{ - if(ms_GetVersionInt() != 60003 ){ + if(extension_loaded("imagick")){ header('Content-Type: image/png'); $img->saveImage(); } diff --git a/classesphp/mapa_openlayers.php b/classesphp/mapa_openlayers.php index c330bb3..38898b2 100644 --- a/classesphp/mapa_openlayers.php +++ b/classesphp/mapa_openlayers.php @@ -290,7 +290,7 @@ else{ else{ if($img->imagepath == "") {echo "Erro IMAGEPATH vazio";exit;} - if(ms_GetVersionInt() != 60003 ){ + if(extension_loaded("imagick")){ header('Content-Type: image/png'); $img->saveImage(); } diff --git a/interface/openlayers.htm b/interface/openlayers.htm index 745e48b..47ddc03 100644 --- a/interface/openlayers.htm +++ b/interface/openlayers.htm @@ -8,313 +8,400 @@ - - -
- - - - - - - - - - - - + + -
- -