Log: add request method in logged message prefix

This commit is contained in:
Benjamin Renard 2025-01-05 16:07:12 +01:00
parent 2beee5c645
commit 6f9f6fe3cf
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -197,6 +197,7 @@ class Log {
else { else {
$msg = array( $msg = array(
date('Y/m/d H:i:s'), date('Y/m/d H:i:s'),
$_SERVER['REQUEST_METHOD'],
$_SERVER['REQUEST_URI'], $_SERVER['REQUEST_URI'],
self :: get_remote_addr(), self :: get_remote_addr(),
); );