This commit is contained in:
Laurent Destailleur
2019-08-17 15:15:52 +02:00
parent 019cbc501d
commit ae7ba9ff54
2 changed files with 2 additions and 2 deletions

View File

@@ -802,7 +802,7 @@ class Utils
dol_include_once('/core/lib/files.lib.php');
$nbSaves = ! empty($conf->global->SYSLOG_FILE_SAVES) ? intval($conf->global->SYSLOG_FILE_SAVES) : 14;
$nbSaves = empty($conf->global->SYSLOG_FILE_SAVES) ? 10 : intval($conf->global->SYSLOG_FILE_SAVES);
if (empty($conf->global->SYSLOG_FILE)) {
$mainlogdir = DOL_DATA_ROOT;