summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-27 00:21:15 +0100
committerRobin Appelman <icewind@owncloud.com>2012-01-27 00:21:15 +0100
commit2f4a289782ae425c8984e982167ae8e523db96eb (patch)
treec31929075ef9cf039e1761e3d6e90f456bf478b8 /lib
parent830cf87697282cac254451079e21d2463cb86c92 (diff)
downloadnextcloud-server-2f4a289782ae425c8984e982167ae8e523db96eb.tar.gz
nextcloud-server-2f4a289782ae425c8984e982167ae8e523db96eb.zip
fix non-absolute symbolic links
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;
}