smeserver-php-push-2/root/etc/e-smith/templates/usr/share/sogosync/config.php/45Backend60Caldav
2012-09-22 14:37:33 +02:00

10 lines
386 B
Plaintext

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";
}