Merge pull request #312 from owncloud/missing_path

getAbsolutePath() always needs a parameter, added empty path as parameter to get the root path
remotes/origin/stable45
Daniel Molkentin 13 years ago
commit 6b413b0d0f
  1. 5
      lib/filesystemview.php

@ -47,10 +47,7 @@ class OC_FilesystemView {
$this->fakeRoot=$root;
}
public function getAbsolutePath($path) {
if(!$path) {
$path='/';
}
public function getAbsolutePath($path = '/') {
if($path[0]!=='/') {
$path='/'.$path;
}

Loading…
Cancel
Save