X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=744c6df09dcbea8280acbb084b254b1e1d6d3531;hb=e7884b14092b5f5f2c5656d622a625006bffb165;hp=3df54b79e61106c3485e0377d8dd90e4dd359ef7;hpb=aa0b485f3dca72c5448076e913fa54d948cd7731;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 3df54b79e6..744c6df09d 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -1,6 +1,6 @@ [ 'instanceOf' => Factory\ConfigFactory::class, 'call' => [ - ['createCache', [], Dice::CHAIN_CALL], + ['createCache', [$_SERVER], Dice::CHAIN_CALL], ], ], App\Mode::class => [ @@ -105,7 +105,6 @@ return [ Database::class => [ 'constructParams' => [ [Dice::INSTANCE => \Psr\Log\NullLogger::class], - $_SERVER, ], ], /** @@ -187,6 +186,7 @@ return [ Process::class => [ 'constructParams' => [ [Dice::INSTANCE => '$basepath'], + getmypid(), ], ], App\Router::class => [