mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-30 18:37:12 +00:00
Separate the creation of the session object from the definition of it's class.
This commit is contained in:
parent
0b666ef34a
commit
1eb5308fc2
@ -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");
|
||||
|
||||
@ -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");
|
||||
|
||||
@ -147,7 +147,4 @@ class BasicAuthSession {
|
||||
|
||||
|
||||
}
|
||||
|
||||
$session = new BasicAuthSession();
|
||||
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user