fix namespace issues

This commit is contained in:
Ralf Becker 2019-11-19 14:01:50 +02:00
parent 19b6683c73
commit 93b1c7f1ab
2 changed files with 2 additions and 1 deletions

View File

@ -6797,7 +6797,7 @@ class Mail
$myUrl = $directory.$filename; $myUrl = $directory.$filename;
if ($myUrl[0]=='/') // local path -> we only allow path's that are available via http/https (or vfs) if ($myUrl[0]=='/') // local path -> we only allow path's that are available via http/https (or vfs)
{ {
$basedir = Api\Framework::getUrl('/'); $basedir = Framework::getUrl('/');
} }
// use vfs instead of url containing webdav.php // use vfs instead of url containing webdav.php
// ToDo: we should test if the webdav url is of our own scope, as we cannot handle foreign // ToDo: we should test if the webdav url is of our own scope, as we cannot handle foreign

View File

@ -13,6 +13,7 @@
namespace EGroupware\Api\Vfs\Filesystem; namespace EGroupware\Api\Vfs\Filesystem;
use EGroupware\Api;
use EGroupware\Api\Vfs; use EGroupware\Api\Vfs;
/** /**