fix non-absolute symbolic links

remotes/origin/stable
Robin Appelman 15 years ago
parent 830cf87697
commit 2f4a289782
  1. 2
      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;
}

Loading…
Cancel
Save