mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
Fix header logging.
This commit is contained in:
parent
36ef7160f5
commit
5265ed496f
@ -93,8 +93,9 @@ class CalDAVRequest
|
||||
/** Log the request headers */
|
||||
$lines = apache_request_headers();
|
||||
dbg_error_log( "LOG ", "***************** Request Header ****************" );
|
||||
foreach( $lines AS $v ) {
|
||||
dbg_error_log( "LOG headers", "-->%s", $v );
|
||||
dbg_error_log( "LOG ", "%s %s", $_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI'] );
|
||||
foreach( $lines AS $k => $v ) {
|
||||
dbg_error_log( "LOG headers", "-->%s: %s", $k, $v );
|
||||
}
|
||||
dbg_error_log( "LOG ", "******************** Request ********************" );
|
||||
// Log the request in all it's gory detail.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user