This commit is contained in:
Laurent Destailleur 2011-09-24 02:01:26 +00:00
parent ba7f117cdf
commit 17fc17dd08
2 changed files with 8 additions and 7 deletions

View File

@ -766,10 +766,11 @@ function dol_delete_preview($object)
/**
* Get and save an upload file (for example after submitting a new file a mail form).
* All information used are in db, conf, langs, user and _FILES.
* @param upload_dir Directory to store upload files
* @param allowoverwrite 1=Allow overwrite existing file
* @param donotupdatesession 1=Do no edit _SESSION variable
* @return string Message with result of upload and store.
*
* @param string $upload_dir Directory to store upload files
* @param int $allowoverwrite 1=Allow overwrite existing file
* @param int $donotupdatesession 1=Do no edit _SESSION variable
* @return string Message with result of upload and store.
*/
function dol_add_file_process($upload_dir,$allowoverwrite=0,$donotupdatesession=0)
{

View File

@ -3349,10 +3349,10 @@ function create_exdir($dir)
}
/**
* Creation of a directory (recursive)
* Creation of a directory (this can create recursive subdir)
*
* @param $dir Directory to create
* @return int < 0 if KO, 0 = already exists, > 0 if OK
* @param string $dir Directory to create (Separator must be '/'. Example: '/mydir/mysubdir')
* @return int < 0 if KO, 0 = already exists, > 0 if OK
*/
function dol_mkdir($dir)
{