adding ip client in logs
This commit is contained in:
parent
37f0f717d4
commit
2a706c75e4
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user