Add debugging output of $_SERVER headers.

This commit is contained in:
Andrew McMillan 2006-12-11 19:39:43 +13:00
parent 16b1c9f6c6
commit 899afa3ee6

View File

@ -12,6 +12,8 @@ require_once("../inc/always.php");
dbg_error_log( "caldav", " User agent: %s", ((isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "Unfortunately Mulberry and Chandler don't send a 'User-agent' header with their requests :-(")) );
require_once("BasicAuthSession.php");
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
require_once("CalDAVRequest.php");
$request = new CalDAVRequest();