Commit 864d3967337dfa511f26b5c85a91f40d282ed912
1 parent
e7f489a8
Exists in
master
and in
7 other branches
Correção para evitar a inclusão de um prefixo no nome do arquivo shapefile ao se…
…r enviado ao servidor
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
ferramentas/upload/upload.php
... | ... | @@ -47,9 +47,7 @@ if (isset($_FILES['i3GEOuploadshp']['name'])) |
47 | 47 | verificaNome($_FILES['i3GEOuploaddbf']['name']); |
48 | 48 | //remove acentos |
49 | 49 | $nomePrefixo = str_replace(" ","_",removeAcentos(str_replace(".shp","",$_FILES['i3GEOuploadshp']['name']))); |
50 | - if(file_exists($dirmap."/".$nomePrefixo.".shp")){ | |
51 | - $nomePrefixo = $nomePrefixo."_".(nomeRandomico(4)); | |
52 | - } | |
50 | + //$nomePrefixo = $nomePrefixo."_".(nomeRandomico(4)); | |
53 | 51 | |
54 | 52 | //sobe arquivo |
55 | 53 | $Arquivo = $_FILES['i3GEOuploadshp']['tmp_name']; | ... | ... |