|
|
@ -1,11 +1,7 @@ |
|
|
|
define('CARDDAV_PERSONAL', 'personal'); |
|
|
|
define('CARDDAV_PERSONAL', 'personal'); |
|
|
|
define('CARDDAV_URL', 'http://localhost:{$sogod{'TCPPort'}}/SOGo/dav/%u/Contacts/'); |
|
|
|
define('CARDDAV_URL', 'http://localhost:{$sogod{'TCPPort'}}/SOGo/dav/%u/Contacts/'); |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
my $ro = $sogosync{'ReadOnly'} || 'disabled'; |
|
|
|
my $ro = $sogosync{'ReadOnly'} || 'disabled'; |
|
|
|
|
|
|
|
$ro = ($ro =~ m/^yes|enabled|1$/) ? 'true':'false'; |
|
|
|
$OUT .= " define('CARDDAV_READONLY', true);\n" |
|
|
|
$OUT .= " define('CARDDAV_READONLY', $ro);\n"; |
|
|
|
if ($ro =~ m/^yes|enabled|1$/); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|