mirror of
https://github.com/filegator/filegator.git
synced 2025-08-12 11:24:18 +02:00
storage config simplified
This commit is contained in:
@@ -26,7 +26,7 @@ class Filesystem implements Service
|
||||
$this->separator = $config['separator'];
|
||||
$this->path_prefix = $this->separator;
|
||||
|
||||
$adapter = $config['adapters'][$config['filesystem_adapter']];
|
||||
$adapter = $config['adapter'];
|
||||
$config = isset($config['config']) ? $config['config'] : [];
|
||||
|
||||
$this->storage = new Flysystem($adapter(), $config);
|
||||
|
Reference in New Issue
Block a user