Skip to content

Commit

Permalink
Revert "supports env variables in configuration (#277)" (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead authored Aug 8, 2023
1 parent a8d9b5b commit 9e317a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ oneup_flysystem:

# optional - defines the default visibility of directories: `public` or `private` (default)
directory_visibility: private

# example - using environment variable for adapter
my_dynamic_filesystem:
adapter: '%app.filesystem_dynamic.adapter%'
visibility: private
directory_visibility: private
```
There are a bunch of adapters for you to use:
Expand Down
3 changes: 0 additions & 3 deletions src/DependencyInjection/OneupFlysystemExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public function load(array $configs, ContainerBuilder $container): void
$configuration = new Configuration($adapterFactories);
$config = $this->processConfiguration($configuration, $configs);

/** @var array $config */
$config = $container->resolveEnvPlaceholders($config, true);

$loader->load('adapters.xml');
$loader->load('flysystem.xml');

Expand Down

0 comments on commit 9e317a1

Please sign in to comment.