diff --git a/filemanager/cli.php b/filemanager/cli.php index 76fdc9da23..64b611a72d 100755 --- a/filemanager/cli.php +++ b/filemanager/cli.php @@ -471,6 +471,7 @@ function load_wrapper($url) switch($scheme) { case 'webdav': + case 'webdavs': require_once('HTTP/WebDAV/Client.php'); break; case '': // default scheme is file and alsways available diff --git a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php index 7fc51fbdb2..4b66b9378f 100644 --- a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php @@ -1133,8 +1133,9 @@ class vfs_stream_wrapper implements iface_stream_wrapper switch($scheme) { case 'webdav': + case 'webdavs': require_once('HTTP/WebDAV/Client.php'); - self::$wrappers[] = 'webdav'; + self::$wrappers[] = $scheme; break; case '': break; // default file, always loaded