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 <icewind1991@gmail.com>2010-07-07 14:30:30 +0400
committerRobin Appelman <icewind1991@gmail.com>2010-07-07 14:30:30 +0400
commitb38aa771d1ed79ec53ea547e62f9a2c1dd89f5fa (patch)
tree4fd43ba57a2597a96ba68e896bb4800cf6870487 /inc/lib_filestorage.php
parent581328fbc1a9c56654ddd49c407b5b6cc28fbc50 (diff)
Initial version of remote ownCloud access through filesystem abstraction
Diffstat (limited to 'inc/lib_filestorage.php')
-rwxr-xr-xinc/lib_filestorage.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/lib_filestorage.php b/inc/lib_filestorage.php
index 85382a44447..10266d4eaf6 100755
--- a/inc/lib_filestorage.php
+++ b/inc/lib_filestorage.php
@@ -62,7 +62,7 @@ class OC_FILESTORAGE{
public function filemtime($path){}
public function fileatime($path){}
public function file_get_contents($path){}
- public function file_put_contents($path){}
+ public function file_put_contents($path,$data){}
public function unlink($path){}
public function rename($path1,$path2){}
public function copy($path1,$path2){}
@@ -149,8 +149,8 @@ class OC_FILESTORAGE_LOCAL extends OC_FILESTORAGE{
}
return $return;
}
- public function file_put_contents($path){
- if($return=file_put_contents($this->datadir.$path)){
+ public function file_put_contents($path,$data){
+ if($return=file_put_contents($this->datadir.$path,$data)){
$this->notifyObservers($path,OC_FILEACTION_WRITE);
}
}