mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-21 08:51:24 +01:00
FIX: Better error management in loading a website template
This commit is contained in:
@@ -7424,7 +7424,7 @@ function dol_mkdir($dir, $dataroot = '', $newmask = '')
|
||||
}
|
||||
$dirmaskdec |= octdec('0111'); // Set x bit required for directories
|
||||
if (!@mkdir($ccdir_osencoded, $dirmaskdec)) {
|
||||
// Si le is_dir a renvoye une fausse info, alors on passe ici.
|
||||
// If the is_dir has returned a false information, we arrive here
|
||||
dol_syslog("functions.lib::dol_mkdir: Fails to create directory '".$ccdir."' or directory already exists.", LOG_WARNING);
|
||||
$nberr++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user