mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-26 17:56:29 +00:00
Add a framework for supporting Digest authentication.
This commit is contained in:
parent
cab5bf737c
commit
6b1286cf5b
@ -10,8 +10,8 @@
|
||||
*/
|
||||
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();
|
||||
require_once("HTTPAuthSession.php");
|
||||
$session = new HTTPAuthSession();
|
||||
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
|
||||
|
||||
require_once("CalDAVRequest.php");
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<?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 :-(")) );
|
||||
require_once("BasicAuthSession.php");
|
||||
$session = new BasicAuthSession();
|
||||
require_once("HTTPAuthSession.php");
|
||||
$session = new HTTPAuthSession();
|
||||
dbg_log_array( "headers", '_SERVER', $_SERVER, true );
|
||||
|
||||
require_once("CalDAVRequest.php");
|
||||
|
||||
@ -14,6 +14,7 @@ $c->sysabbr = 'rscds';
|
||||
$c->admin_email = 'andrew@catalyst.net.nz';
|
||||
$c->system_name = "Really Simple CalDAV Store";
|
||||
$c->domain_name = $_SERVER['SERVER_NAME'];
|
||||
// $c->http_auth_mode = "Basic";
|
||||
$c->save_time_zone_defs = true;
|
||||
$c->collections_always_exist = true;
|
||||
$c->home_calendar_name = 'home';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user