Move debugging of headers to before http auth, making it more useful.

This commit is contained in:
Andrew McMillan 2008-01-24 21:55:35 +13:00
parent ce649d20d3
commit f54fd0719d

View File

@ -1,9 +1,9 @@
<?php
require_once("../inc/always.php");
dbg_error_log( "freebusy", " 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 :-(")) );
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
require_once("HTTPAuthSession.php");
$session = new HTTPAuthSession();
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
require_once("CalDAVRequest.php");