summaryrefslogtreecommitdiffstats
path: root/lib/filestorage/local.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filestorage/local.php')
-rw-r--r--lib/filestorage/local.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index d60f32b15be..2087663809f 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -168,7 +168,10 @@ class OC_Filestorage_Local extends OC_Filestorage_Common{
return $this->searchInDir($query);
}
public function getLocalFile($path){
- return $this->datadir.$path;
+ return $this->datadir.$path;
+ }
+ public function getLocalFolder($path){
+ return $this->datadir.$path;
}
protected function searchInDir($query,$dir=''){