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:
Diffstat (limited to 'lib/filestorage/local.php')
-rw-r--r--lib/filestorage/local.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 02746fa6c6f..cfc27159786 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -50,10 +50,10 @@ class OC_Filestorage_Local extends OC_Filestorage{
}
}
public function is_readable($path){
- return true;
+ return is_readable($this->datadir.$path);
}
public function is_writeable($path){
- return true;
+ return is_writable($this->datadir.$path);
}
public function file_exists($path){
return file_exists($this->datadir.$path);