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