mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
First phase of iSchedule support. Capabilities supported as well as validating remote requests. Still need to handle remote requests.
This commit is contained in:
1 parent
295fa0eb9b
commit
528211bc65
3 files changed
+435
No files matched your search
@@ -19,6 +19,10 @@ if ( isset($_SERVER['PATH_INFO']) && preg_match( '{^(/favicon.ico|davical.css|(i
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
elseif ( isset($_SERVER['PATH_INFO']) && preg_match( '{^/\.well-known/(.+)$}', $_SERVER['PATH_INFO'], $matches ) ) {
|
||||
require ('well-known.php');
|
||||
exit(0);
|
||||
}
|
||||
require_once('./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 :-(')) );
|
||||
// dbg_log_array( 'headers', '_SERVER', $_SERVER, true );
|
||||
|
||||
Reference in new issue
Block a user