Fix in chmod

This commit is contained in:
Laurent Destailleur
2008-10-18 18:34:07 +00:00
parent 07eb06d8b7
commit e6fcbb98b8
3 changed files with 3 additions and 3 deletions

View File

@@ -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