}
}
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);
return false;
}
$storage=self::getStorage($path);
- return $storage->is_readable($path);
+ return $storage->is_readable(self::getInternalPath($path));
}
static public function is_writeable($path){
if(substr($path,0,1)!=='/'){
return false;
}
$storage=self::getStorage($path);
- return $storage->is_writeable($path);
+ return $storage->is_writeable(self::getInternalPath($path));
}
static public function file_exists($path){
if($path=='/'){