* Filemanager: allow WebDAVs (https) via PEAR HTTP_WebDAV_Client

This commit is contained in:
Ralf Becker 2012-01-11 21:24:54 +00:00
parent b34d6f9d35
commit 7d8347cd34
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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