mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-15 19:22:14 -06:00
Added Zend expressive swoole config provider to global config when present
This commit is contained in:
parent
c79ca1d13c
commit
63a69b05a1
@ -24,6 +24,9 @@ return (new ConfigAggregator\ConfigAggregator([
|
|||||||
Expressive\Router\FastRouteRouter\ConfigProvider::class,
|
Expressive\Router\FastRouteRouter\ConfigProvider::class,
|
||||||
Expressive\Plates\ConfigProvider::class,
|
Expressive\Plates\ConfigProvider::class,
|
||||||
Expressive\Helper\ConfigProvider::class,
|
Expressive\Helper\ConfigProvider::class,
|
||||||
|
\class_exists(Expressive\Swoole\ConfigProvider::class)
|
||||||
|
? Expressive\Swoole\ConfigProvider::class
|
||||||
|
: new ConfigAggregator\ArrayProvider([]),
|
||||||
ExpressiveErrorHandler\ConfigProvider::class,
|
ExpressiveErrorHandler\ConfigProvider::class,
|
||||||
Common\ConfigProvider::class,
|
Common\ConfigProvider::class,
|
||||||
Core\ConfigProvider::class,
|
Core\ConfigProvider::class,
|
||||||
|
Loading…
Reference in New Issue
Block a user