mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Have a sensible default setting for the UserAgent
This commit is contained in:
parent
28d9105810
commit
4ae36c132d
@ -366,11 +366,12 @@ $c->admin_email = 'calendar-admin@example.com';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* External subscription (BIND) user agent string
|
* External subscription (BIND) user agent string
|
||||||
* Required if your remote calendar only delivers to known user agents.
|
* You may need to set a specific stirng if your remote calendar only delivers
|
||||||
|
* to known user agents.
|
||||||
*
|
*
|
||||||
* Default: none
|
* Default: DAViCal/$version
|
||||||
*/
|
*/
|
||||||
// $c->external_ua_string = '';
|
// $c->external_ua_string = "DAViCal/" . $c->version_string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If you want to force DAViCal to use HTTP Digest Authentication for CalDAV
|
* If you want to force DAViCal to use HTTP Digest Authentication for CalDAV
|
||||||
|
|||||||
@ -312,6 +312,9 @@ if ( isset($c->version_string) && preg_match( '/(\d+)\.(\d+)\.(\d+)(.*)/', $c->v
|
|||||||
// What is our minimum supported version of PHP?
|
// What is our minimum supported version of PHP?
|
||||||
$c->minimum_php_version = '5.4.0';
|
$c->minimum_php_version = '5.4.0';
|
||||||
|
|
||||||
|
// Default UserAgent string when fetching content from elsewhere.
|
||||||
|
$c->external_ua_string = "DAViCal/" . $c->version_string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Force the domain name to what was in the configuration file
|
* Force the domain name to what was in the configuration file
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user