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-02-19 09:43:06 +00:00
parent f1e0cc90d7
commit be5dd5435b

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");
}