From 9942d995eedfb6f0555f018ec391c3d0434b3ef3 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 25 Aug 2011 12:58:16 +0000 Subject: [PATCH] --- classesphp/mapa_openlayers.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/classesphp/mapa_openlayers.php b/classesphp/mapa_openlayers.php index d48ec92..fd03074 100644 --- a/classesphp/mapa_openlayers.php +++ b/classesphp/mapa_openlayers.php @@ -275,6 +275,7 @@ function salvaCacheImagem($bbox,$layer,$map,$w,$h){ if(!file_exists($nome)) { $img->saveImage($nome); + chmod($nome,0777); } } function carregaCacheImagem($bbox,$layer,$map,$w,$h){ -- libgit2 0.21.2