mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
for https:// url the port was detected as 80
This commit is contained in:
parent
fe025e3bd3
commit
a6b53002df
@ -143,7 +143,7 @@
|
||||
$this->dav_pwd=$GLOBALS['egw_info']['user']['passwd'];
|
||||
$parsed_url = parse_url($this->repository);
|
||||
$this->dav_host=$parsed_url['host'];
|
||||
$this->dav_port=@isset($parsed_url['port']) ? $parsed_url['port'] : 80;
|
||||
$this->dav_port=@isset($parsed_url['port']) ? $parsed_url['port'] : ($parsed_url['scheme'] == 'https' ? 443 : 80);
|
||||
|
||||
$this->dav_client =& CreateObject('phpgwapi.http_dav_client');
|
||||
$this->dav_client->set_credentials($this->dav_user,$this->dav_pwd);
|
||||
|
Loading…
Reference in New Issue
Block a user