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.

9 lines
386 B

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