mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
fix namespace issues
This commit is contained in:
parent
19b6683c73
commit
93b1c7f1ab
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user