mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
remove unused code from abstract driver
This commit is contained in:
@@ -248,7 +248,8 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
}
|
||||
|
||||
if ($path != $this->root && is_link($path)) {
|
||||
if (($target = $this->_readlink($path)) == false) {
|
||||
if (($target = $this->_readlink($path)) == false
|
||||
|| $target == $path) {
|
||||
$stat['mime'] = 'symlink-broken';
|
||||
$stat['read'] = false;
|
||||
$stat['write'] = false;
|
||||
|
||||
Reference in New Issue
Block a user