mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
egw_vfs::download_url requires egw::link, as it is relative to egroupware dir
This commit is contained in:
parent
fd0bfe97ea
commit
51f8d5b7b0
@ -891,7 +891,7 @@ class html
|
||||
}
|
||||
if (substr($name,0,5) == 'vfs:/') // vfs pseudo protocoll
|
||||
{
|
||||
$name = egw_vfs::download_url(substr($name,4));
|
||||
$name = egw::link(egw_vfs::download_url(substr($name,4)));
|
||||
}
|
||||
if ($name[0] == '/' || substr($name,0,7) == 'http://' || substr($name,0,8) == 'https://' || stripos($name,'etemplate/thumbnail.php') )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user