adding ip client in logs

This commit is contained in:
root 2018-01-22 11:57:07 +01:00
parent 37f0f717d4
commit 2a706c75e4

View File

@ -93,7 +93,8 @@ class PayboxController extends ApiBaseController {
$fp = fopen(__DIR__. '/../../../../log_payment'.date('Y-m-d').'.txt', 'a+');
$str = var_export($user->email, true) . " " .
$str = var_export($_SERVER['REMOTE_ADDR']) . " " .
var_export($user->email, true) . " " .
var_export($response, true) . " " .
var_export($input_data, true) . " " .
var_export($create_order, true) . " " .
@ -266,4 +267,4 @@ class PayboxController extends ApiBaseController {
}
return $data;
}
}
}