diff options
Diffstat (limited to 'lib/filestorage/local.php')
-rw-r--r-- | lib/filestorage/local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index dcffce6e867..61343652f61 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -36,7 +36,7 @@ class OC_Filestorage_Local extends OC_Filestorage{ public function filetype($path){ $filetype=filetype($this->datadir.$path); if($filetype=='link'){ - $filetype=filetype(readlink($this->datadir.$path)); + $filetype=filetype(realpath($this->datadir.$path)); } return $filetype; } |