From fdf36d3b3621070cbd65346e241aa8064be09dc1 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 4 Aug 2015 20:00:42 +0000 Subject: [PATCH] - --- ferramentas/salvamapa/geraminiatura.php | 3 ++- ferramentas/wmstime/index.htm | 21 +++++++++------------ ferramentas/wmstime/index.js | 53 +++++++++++++++++++++++++++++++++++------------------ 3 files changed, 46 insertions(+), 31 deletions(-) diff --git a/ferramentas/salvamapa/geraminiatura.php b/ferramentas/salvamapa/geraminiatura.php index 29895de..f8bce6f 100644 --- a/ferramentas/salvamapa/geraminiatura.php +++ b/ferramentas/salvamapa/geraminiatura.php @@ -42,7 +42,8 @@ if(!file_exists($nomeImagem)){ $objImagemM = @$mapa->draw(); $objImagemM->saveImage($nomeImagem); -} +} +ob_clean(); header('Content-Length: '.filesize($nomeImagem)); header('Content-Type: image/png'); header('Cache-Control: public, max-age=22222222'); diff --git a/ferramentas/wmstime/index.htm b/ferramentas/wmstime/index.htm index 57b0c95..d1209db 100644 --- a/ferramentas/wmstime/index.htm +++ b/ferramentas/wmstime/index.htm @@ -1,15 +1,12 @@ + - - - + + + - -
+ +