mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 18:12:53 +01:00
Fix in chmod
This commit is contained in:
@@ -600,7 +600,7 @@ class Ldap
|
||||
// We change mod to allow file to be overwritten if dump is launched
|
||||
// from command line or a web session.
|
||||
// 0666 = rw-rw-rw-
|
||||
@chmod($file, $conf->global->MAIN_UMASK);
|
||||
if (! empty($conf->global->MAIN_UMASK)) @chmod($file, $conf->global->MAIN_UMASK);
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user