|
@@ 106-109 (lines=4) @@
|
| 103 |
|
|
| 104 |
|
// instantiate object store implementation |
| 105 |
|
$name = $config['class']; |
| 106 |
|
if (strpos($name, 'OCA\\') === 0 && substr_count($name, '\\') >= 2) { |
| 107 |
|
$segments = explode('\\', $name); |
| 108 |
|
OC_App::loadApp(strtolower($segments[1])); |
| 109 |
|
} |
| 110 |
|
$config['arguments']['objectstore'] = new $config['class']($config['arguments']); |
| 111 |
|
// mount with plain / root object store implementation |
| 112 |
|
$config['class'] = '\OC\Files\ObjectStore\ObjectStoreStorage'; |
|
@@ 139-142 (lines=4) @@
|
| 136 |
|
|
| 137 |
|
// instantiate object store implementation |
| 138 |
|
$name = $config['class']; |
| 139 |
|
if (strpos($name, 'OCA\\') === 0 && substr_count($name, '\\') >= 2) { |
| 140 |
|
$segments = explode('\\', $name); |
| 141 |
|
OC_App::loadApp(strtolower($segments[1])); |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
if (!isset($config['arguments']['bucket'])) { |
| 145 |
|
$config['arguments']['bucket'] = ''; |