Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-01-27 03:21:15 +0400
committerRobin Appelman <icewind@owncloud.com>2012-01-27 03:21:15 +0400
commit2f4a289782ae425c8984e982167ae8e523db96eb (patch)
treec31929075ef9cf039e1761e3d6e90f456bf478b8 /lib/filestorage
parent830cf87697282cac254451079e21d2463cb86c92 (diff)
fix non-absolute symbolic links
Diffstat (limited to 'lib/filestorage')
-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;
}