diff --git a/inc/always.php.in b/inc/always.php.in index 9e77ad5d..b2188db7 100644 --- a/inc/always.php.in +++ b/inc/always.php.in @@ -19,6 +19,7 @@ $c->system_name = "DAViCal CalDAV Server"; $c->domain_name = $_SERVER['SERVER_NAME']; $c->save_time_zone_defs = true; $c->collections_always_exist = true; +$c->allow_get_email_visibility = false; $c->home_calendar_name = 'home'; $c->enable_row_linking = true; $c->http_auth_mode = 'Basic'; @@ -243,7 +244,7 @@ function ConstructURL( $partial_path ) { $url = $c->_url_script_path . $partial_path; $url = preg_replace( '#^(https?://.+)//#', '$1/', $url ); // Ensure we don't double any '/' - $url = preg_replace('#^https?://[^/]+#', '', $url ); + $url = preg_replace('#^https?://[^/]+#', '', $url ); // Remove any protocol + hostname portion return $url; }