Set storage id for openstack swift backend

remotes/origin/stable6
Robin Appelman 12 years ago
parent 1f194b7bdc
commit 4c980b1a14
  1. 1
      apps/files_external/lib/swift.php

@ -287,6 +287,7 @@ class SWIFT extends \OC\Files\Storage\Common{
if ( ! $this->root || $this->root[0]!='/') {
$this->root='/'.$this->root;
}
$this->id = 'swift:' . $this->host . ':'.$this->root . ':' . $this->user;
} else {
throw new \Exception();
}

Loading…
Cancel
Save