mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix regression
This commit is contained in:
parent
43e054d5e8
commit
a1003a1a90
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user