* Filemanager: allow WebDAVs (https) via PEAR HTTP_WebDAV_Client

This commit is contained in:
Ralf Becker 2012-01-11 21:28:59 +00:00
parent 3f9d70a484
commit 8585a30b85
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