Commit 2924964d70371b13de39084ce522f59f3da4630f

Authored by Edmar Moretti
1 parent 73a4cc81

Correção na operação de upload de um arquivo mapfile salvo localmente

admin/admin.db
No preview for this file type
ferramentas/carregamapa/upload.php
... ... @@ -55,7 +55,7 @@ if (isset($_FILES['i3GEOcarregamapafilemap']['name']) && strlen(basename($_FILES
55 55 //muda o arquivo de simbolo
56 56 //
57 57 $s = file_get_contents($dirmap."/".$Arquivo);
58   - $s = "MAP\n SYMBOLSET ".$map->symbolsetfilename."\nFONTSET ".$map->fontsetfilename."\n" . $s;
  58 + $s = "MAP\n SYMBOLSET '".$map->symbolsetfilename."'\nFONTSET '".$map->fontsetfilename."'\n" . $s;
59 59  
60 60 $handle = fopen($dirmap."/".$Arquivo, "w");
61 61 fwrite($handle,$s);
... ...