mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-29 13:03:52 +03:00
Used PhpFileProvider to load installer generated config
This commit is contained in:
parent
f7e3a74794
commit
0d37eb65c9
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ return (new ConfigAggregator\ConfigAggregator([
|
||||||
new ConfigAggregator\PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
|
new ConfigAggregator\PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
|
||||||
env('APP_ENV') === 'test'
|
env('APP_ENV') === 'test'
|
||||||
? new ConfigAggregator\PhpFileProvider('config/test/*.global.php')
|
? new ConfigAggregator\PhpFileProvider('config/test/*.global.php')
|
||||||
: new ConfigAggregator\LaminasConfigProvider('config/params/generated_config.php'),
|
: new ConfigAggregator\PhpFileProvider('config/params/generated_config.php'),
|
||||||
], 'data/cache/app_config.php', [
|
], 'data/cache/app_config.php', [
|
||||||
Core\Config\BasePathPrefixer::class,
|
Core\Config\BasePathPrefixer::class,
|
||||||
]))->getMergedConfig();
|
]))->getMergedConfig();
|
||||||
|
|
Loading…
Add table
Reference in a new issue