forked from extern/egroupware
Api: Respect do_symlink flag to keep links as links
Fixes troubles with syncing
This commit is contained in:
parent
a5cbf30a6e
commit
4b9ec7ec13
@ -311,7 +311,7 @@ class Base
|
||||
// Make sure we don't cache anything with a link anywhere in the url, since it fails with eg: /apps/InfoLog/Open$/2021$.
|
||||
// is_link() is not always right here
|
||||
$is_link = is_link($url) || (self::symlinkCache_resolve(Vfs::parse_url($url,PHP_URL_PATH)) !== Vfs::parse_url($url,PHP_URL_PATH));
|
||||
if($is_link)
|
||||
if($is_link && $do_symlink)
|
||||
{
|
||||
$old_url = $url;
|
||||
$_url = self::symlinkCache_resolve(Vfs::parse_url($url,PHP_URL_PATH));
|
||||
|
Loading…
Reference in New Issue
Block a user