2
0
forked from Wavyzz/dolibarr

Code comment

This commit is contained in:
Laurent Destailleur
2022-10-28 02:49:57 +02:00
parent 9792d4e0aa
commit a0203af926

View File

@@ -116,7 +116,7 @@ class mod_syslog_file extends LogHandler implements LogHandlerInterface
if ($conf->global->SYSLOG_FILE_ONEPERSESSION == 1) { // file depend on session key name (Note that session name is same for all users and is not a per user value)
$suffixinfilename .= '_'.session_name();
}
if ($conf->global->SYSLOG_FILE_ONEPERSESSION == 2) { // file depend on session value sor per user
if ($conf->global->SYSLOG_FILE_ONEPERSESSION == 2) { // file depend on session name + ip so nearly per user
$suffixinfilename .= '_'.session_name().'_'.$_SERVER["REMOTE_ADDR"];
}
}