summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/filestorage/local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index b8a0563c134..e846aa420e4 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -38,7 +38,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;
}