sogosync integration on SME Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
375 B

define('CALDAV_SERVER', 'http://localhost:{$sogod{'TCPPort'}}');
define('CALDAV_PATH', '/SOGo/dav/%u/');
define('CALDAV_PERSONAL', 'personal');
define('CALDAV_SERVER', 'http://localhost:{$sogod{'TCPPort'}}/SOGo/dav/%u');
{
my $ro = $sogosync{'ReadOnly'} || 'disabled';
$OUT .= " define('CALDAV_READONLY', true);\n"
if ($ro =~ m/^yes|enabled|1$/);
}