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