remove unused code from abstract driver

This commit is contained in:
Dmitry (dio) Levashov
2011-11-04 02:53:40 +04:00
parent 8cb91a9f8b
commit a29f4c8d39
2 changed files with 48 additions and 52 deletions
+2 -1
View File
@@ -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;