From 2924964d70371b13de39084ce522f59f3da4630f Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Wed, 6 Sep 2017 22:09:32 -0300 Subject: [PATCH] Correção na operação de upload de um arquivo mapfile salvo localmente --- admin/admin.db | Bin 340992 -> 0 bytes ferramentas/carregamapa/upload.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/admin.db b/admin/admin.db index 399c0bd..9c7b5d0 100755 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/ferramentas/carregamapa/upload.php b/ferramentas/carregamapa/upload.php index 3562714..b1a438e 100755 --- a/ferramentas/carregamapa/upload.php +++ b/ferramentas/carregamapa/upload.php @@ -55,7 +55,7 @@ if (isset($_FILES['i3GEOcarregamapafilemap']['name']) && strlen(basename($_FILES //muda o arquivo de simbolo // $s = file_get_contents($dirmap."/".$Arquivo); - $s = "MAP\n SYMBOLSET ".$map->symbolsetfilename."\nFONTSET ".$map->fontsetfilename."\n" . $s; + $s = "MAP\n SYMBOLSET '".$map->symbolsetfilename."'\nFONTSET '".$map->fontsetfilename."'\n" . $s; $handle = fopen($dirmap."/".$Arquivo, "w"); fwrite($handle,$s); -- libgit2 0.21.2