K
Kirby
Guest
I'd like to log more request data in spam trigger log, however this does seem somewhat difficult:
The array containing data about the request is hardcoded somewhere in the middle of
PHP:
Read more
Continue reading...
The array containing data about the request is hardcoded somewhere in the middle of
AbstractTrigger::logSpamTrigger
PHP:
Code:
$request = [
'url' => $request->getRequestUri(),
'referrer' => $request->getReferrer() ?: '',
'_GET' => $_GET,
'_POST' => $request->filterForLog($_POST),
];
$values = [
'content_type' => $contentType,
'content_id' => $contentId,
'log_date' =>...
Read more
Continue reading...