2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2019-06-04 20:02:29 +02:00
parent 9c4f9c91df
commit a08dcec7fc

View File

@@ -5276,7 +5276,7 @@ function get_exdir($num, $level, $alpha, $withoutslash, $object, $modulepart)
* *
* @param string $dir Directory to create (Separator must be '/'. Example: '/mydir/mysubdir') * @param string $dir Directory to create (Separator must be '/'. Example: '/mydir/mysubdir')
* @param string $dataroot Data root directory (To avoid having the data root in the loop. Using this will also lost the warning on first dir PHP has no permission when open_basedir is used) * @param string $dataroot Data root directory (To avoid having the data root in the loop. Using this will also lost the warning on first dir PHP has no permission when open_basedir is used)
* @param int $newmask Mask for new file (Defaults to $conf->global->MAIN_UMASK or 0755 if unavailable). Example: '0444' * @param string|null $newmask Mask for new file (Defaults to $conf->global->MAIN_UMASK or 0755 if unavailable). Example: '0444'
* @return int < 0 if KO, 0 = already exists, > 0 if OK * @return int < 0 if KO, 0 = already exists, > 0 if OK
*/ */
function dol_mkdir($dir, $dataroot = '', $newmask = null) function dol_mkdir($dir, $dataroot = '', $newmask = null)