First phase of iSchedule support. Capabilities supported as well as validating remote requests. Still need to handle remote requests.

This commit is contained in:
Rob Ostensen authored and Andrew McMillan committed 2010-04-19 14:17:19 +12:00
1 parent 295fa0eb9b
commit 528211bc65
3 files changed
+435

No files matched your search

+4
View File
@@ -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 );