mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -7988,7 +7988,7 @@ function dol_mkdir($dir, $dataroot = '', $newmask = '')
|
||||
umask(0);
|
||||
$dirmaskdec = octdec((string) $newmask);
|
||||
if (empty($newmask)) {
|
||||
$dirmaskdec = getDolGlobalString('MAIN_UMASK', octdec('0755'));
|
||||
$dirmaskdec = octdec(getDolGlobalString('MAIN_UMASK', '0755'));
|
||||
}
|
||||
$dirmaskdec |= octdec('0111'); // Set x bit required for directories
|
||||
if (!@mkdir($ccdir_osencoded, $dirmaskdec)) {
|
||||
|
||||
Reference in New Issue
Block a user