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