Link was missing if application entry directory already exists.

Fixes unable to symlink existing entries to vfs
This commit is contained in:
Nathan Gray 2014-07-28 16:12:06 +00:00
parent 67aa23f11b
commit ada74b75fb

View File

@ -1192,8 +1192,9 @@ class egw_link extends solink
error_log(__METHOD__. ' (Link target ' . egw_vfs::decodePath($file) . ' not found!'); error_log(__METHOD__. ' (Link target ' . egw_vfs::decodePath($file) . ' not found!');
return false; return false;
} }
$link = egw_vfs::concat($app_path,egw_vfs::basename($file));
} }
$link = egw_vfs::concat($app_path,egw_vfs::basename($file));
return egw_vfs::symlink($file,$link); return egw_vfs::symlink($file,$link);
} }
/** /**