addlog
This commit is contained in:
parent
dc84b3e5a6
commit
950d407c22
@ -59,6 +59,11 @@ class PayboxController extends ApiBaseController {
|
||||
public function getQuestion(Request $request) {
|
||||
$numquestion = (int)ApiConfiguration::get('NUM_QUESTION_PAYBOX') + 1;
|
||||
(int)ApiConfiguration::updateValue('NUM_QUESTION_PAYBOX', $numquestion);
|
||||
|
||||
$fp = fopen(__DIR__. '/../../../../log_payment_question'.date('Y-m-d').'.txt', 'a+');
|
||||
$log = var_export($request->user()->email, true) . " " .
|
||||
var_export($num_question, true) . " " .
|
||||
var_export($SERVER['REMOTE_ADDR'], true);
|
||||
return array(
|
||||
'NUMQUESTION' => $numquestion,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user