fixed fatal error caused by HTTP_WebDAV_Server moved

This commit is contained in:
Ralf Becker 2014-12-11 15:53:52 +00:00
parent 075fb8156d
commit 2ad6957c73

View File

@ -1585,6 +1585,10 @@ class egw_vfs extends vfs_stream_wrapper
}
if (!$token)
{
if (strpos(ini_get('include_path'), EGW_API_INC) === false)
{
ini_set('include_path', EGW_API_INC.PATH_SEPARATOR.ini_get('include_path'));
}
require_once('HTTP/WebDAV/Server.php');
$token = HTTP_WebDAV_Server::_new_locktoken();
}