Commit b7a38ce3839547989e13cee5fc471eafebd6e1cd

Authored by Edmar Moretti
1 parent 457aad2d

Inclusão de rotina que cria o diretório ms_tmp se não existir

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
classesphp/funcoes_gerais.php
@@ -2493,6 +2493,9 @@ Retorno: @@ -2493,6 +2493,9 @@ Retorno:
2493 */ 2493 */
2494 function criaDirMapa($dir_tmp) 2494 function criaDirMapa($dir_tmp)
2495 { 2495 {
  2496 + if(!file_exists($dir_tmp)){
  2497 + @mkdir ($dir_tmp,0777);
  2498 + }
2496 if(file_exists($dir_tmp)) 2499 if(file_exists($dir_tmp))
2497 { 2500 {
2498 $tmpdirname = nomeRandomico(); 2501 $tmpdirname = nomeRandomico();