need to use egw_vfs::load_wrapper() to support new filesystem layout in trunk, fixes "Unknown scheme" error in mount

This commit is contained in:
Ralf Becker 2015-04-09 18:35:52 +00:00
parent 7b7647018d
commit e2021acb9d

View File

@ -489,7 +489,7 @@ function load_wrapper($url)
// get eGW's __autoload() function
include_once(EGW_API_INC.'/common_functions.inc.php');
if (!class_exists(str_replace('.','_',$scheme).'_stream_wrapper'))
if (!egw_vfs::load_wrapper($scheme))
{
die("Unknown scheme '$scheme' in $url !!!\n\n");
}