From 7d8347cd34b373e6e954dd0a156d6d643d9979fe Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 11 Jan 2012 21:24:54 +0000 Subject: [PATCH] * Filemanager: allow WebDAVs (https) via PEAR HTTP_WebDAV_Client --- filemanager/cli.php | 1 + phpgwapi/inc/class.vfs_stream_wrapper.inc.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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