From b7a38ce3839547989e13cee5fc471eafebd6e1cd Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Mon, 30 May 2011 02:53:51 +0000 Subject: [PATCH] Inclusão de rotina que cria o diretório ms_tmp se não existir --- classesphp/funcoes_gerais.php | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/classesphp/funcoes_gerais.php b/classesphp/funcoes_gerais.php index d08bb50..8d49f3d 100644 --- a/classesphp/funcoes_gerais.php +++ b/classesphp/funcoes_gerais.php @@ -2493,6 +2493,9 @@ Retorno: */ function criaDirMapa($dir_tmp) { + if(!file_exists($dir_tmp)){ + @mkdir ($dir_tmp,0777); + } if(file_exists($dir_tmp)) { $tmpdirname = nomeRandomico(); -- libgit2 0.21.2