Separate the creation of the session object from the definition of it's class.

This commit is contained in:
Andrew McMillan 2007-05-30 22:52:58 +12:00
parent 0b666ef34a
commit 1eb5308fc2
3 changed files with 2 additions and 5 deletions

View File

@ -11,7 +11,7 @@
require_once("../inc/always.php");
dbg_error_log( "caldav", " User agent: %s", ((isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "Unfortunately Mulberry does not send a 'User-agent' header with its requests :-(")) );
require_once("BasicAuthSession.php");
$session = new BasicAuthSession();
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
require_once("CalDAVRequest.php");

View File

@ -2,7 +2,7 @@
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 :-(")) );
require_once("BasicAuthSession.php");
$session = new BasicAuthSession();
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
require_once("CalDAVRequest.php");

View File

@ -147,7 +147,4 @@ class BasicAuthSession {
}
$session = new BasicAuthSession();
?>