示例#1
0
 public function __construct($path)
 {
     $path = rtrim($path, '/');
     $this->relpath = $path;
     $path = \GO::config()->file_storage_path . $path;
     //		if(!$this->_getFolder()->checkPermissionLevel(\GO\Base\Model\Acl::READ_PERMISSION)){
     //			\GO::debug("DAV: User ".\GO::user()->username." doesn't have write permission for ".$this->relpath);
     //			throw new Sabre\DAV\Exception\Forbidden ("DAV: User ".\GO::user()->username." doesn't have write permission for folder '".$this->relpath.'"');
     //		}
     parent::__construct($path);
 }
示例#2
0
 public function __construct($path = '')
 {
     parent::__construct("Shared");
 }
示例#3
0
 public function __construct($path = "")
 {
     parent::__construct(GO::config()->file_storage_path);
 }