mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Add a hack so older Mozilla calendar versions don't see auto-schedule.
This commit is contained in:
1 parent
f5ee8da945
commit
9002e974fc
40 files changed
+40
-40
No files matched your search
+1
-1
@@ -38,7 +38,7 @@ if ( isset($c->override_dav_header) ) {
|
||||
}
|
||||
else {
|
||||
/** hack to get around bugzilla #463392 - remove sometime after 2011-02-28 */
|
||||
if ( preg_match( '{ Gecko/(20[01]\d[01]\d[0123]\d)(\d+)? }', $_REQUEST['USER_AGENT'], $matches ) && $matches[1] < 20100520 ) {
|
||||
if ( isset($_SERVER['HTTP_USER_AGENT']) && preg_match( '{ Gecko/(20[01]\d[01]\d[0123]\d)(\d+)? }', $_SERVER['HTTP_USER_AGENT'], $matches ) && $matches[1] < 20100520 ) {
|
||||
$dav = '1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy, bind';
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user