Commit 9942d995eedfb6f0555f018ec391c3d0434b3ef3

Authored by Edmar Moretti
1 parent 091485a0

--no commit message

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
classesphp/mapa_openlayers.php
@@ -275,6 +275,7 @@ function salvaCacheImagem($bbox,$layer,$map,$w,$h){ @@ -275,6 +275,7 @@ function salvaCacheImagem($bbox,$layer,$map,$w,$h){
275 if(!file_exists($nome)) 275 if(!file_exists($nome))
276 { 276 {
277 $img->saveImage($nome); 277 $img->saveImage($nome);
  278 + chmod($nome,0777);
278 } 279 }
279 } 280 }
280 function carregaCacheImagem($bbox,$layer,$map,$w,$h){ 281 function carregaCacheImagem($bbox,$layer,$map,$w,$h){