Commit c072080e66f8fd924ba392eb198d9b80af7344f3
1 parent
6307e051
Exists in
master
and in
7 other branches
Alteração no tamanho dos arquivos para upload
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
ferramentas/upload/index.htm
| @@ -24,7 +24,7 @@ Projeção: | @@ -24,7 +24,7 @@ Projeção: | ||
| 24 | <div id=listaepsg style='left:0px;overflow:auto;height:60px'></div> | 24 | <div id=listaepsg style='left:0px;overflow:auto;height:60px'></div> |
| 25 | <div onclick='submete()' style='top:10px;left:0px'> | 25 | <div onclick='submete()' style='top:10px;left:0px'> |
| 26 | <input id=botao1 type="button" value="Carregar" size=12 name="submit" /> | 26 | <input id=botao1 type="button" value="Carregar" size=12 name="submit" /> |
| 27 | - <input type="hidden" name="MAX_FILE_SIZE" value="10000" /> | 27 | + <input type="hidden" name="MAX_FILE_SIZE" value="50000" /> |
| 28 | </div> | 28 | </div> |
| 29 | </form> | 29 | </form> |
| 30 | </div> | 30 | </div> |
ferramentas/upload/upload.php
| @@ -97,7 +97,6 @@ if (isset($_FILES['fileshp']['name'])) | @@ -97,7 +97,6 @@ if (isset($_FILES['fileshp']['name'])) | ||
| 97 | $novolayer->setmetadata("ITENSDESC",$its); | 97 | $novolayer->setmetadata("ITENSDESC",$its); |
| 98 | $novolayer->set("template","none.htm"); | 98 | $novolayer->set("template","none.htm"); |
| 99 | } | 99 | } |
| 100 | - //echo $epsg; | ||
| 101 | if($epsg != "") | 100 | if($epsg != "") |
| 102 | {$novolayer->setProjection("init=epsg:".$epsg);} | 101 | {$novolayer->setProjection("init=epsg:".$epsg);} |
| 103 | $adiciona = ms_newLayerObj($mapa, $novolayer); | 102 | $adiciona = ms_newLayerObj($mapa, $novolayer); |