Rajout de l'ip du client dans les logs du bureau pour savoir qui a fait quoi lorsqu'il y a un problÚme.
This commit is contained in:
parent
6cae26d956
commit
e7311521aa
|
@ -140,7 +140,7 @@ class m_err {
|
||||||
global $mem,$cuid;
|
global $mem,$cuid;
|
||||||
$f=@fopen($this->logfile,"ab");
|
$f=@fopen($this->logfile,"ab");
|
||||||
if ($f) {
|
if ($f) {
|
||||||
fputs($f,date("d/m/Y H:i:s")." - CALL - ");
|
fputs($f,date("d/m/Y H:i:s")." - " . $_SERVER['REMOTE_ADDR'] . " - CALL - ");
|
||||||
fputs($f,$mem->user["login"]." - ");
|
fputs($f,$mem->user["login"]." - ");
|
||||||
fputs($f,$clsid." - ".$function." - ".$param."\n");
|
fputs($f,$clsid." - ".$function." - ".$param."\n");
|
||||||
fclose($f);
|
fclose($f);
|
||||||
|
|
Loading…
Reference in New Issue