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:
Nahuel Angelinetti 2008-08-18 08:17:37 +00:00
parent 6cae26d956
commit e7311521aa
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class m_err {
global $mem,$cuid;
$f=@fopen($this->logfile,"ab");
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,$clsid." - ".$function." - ".$param."\n");
fclose($f);