X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Fdependencies.config.php;h=ca9b788534b5e593a66fa2491c1b31eb35a98967;hb=d39ee428f0424ee662263b23fc083008e68708da;hp=3df54b79e61106c3485e0377d8dd90e4dd359ef7;hpb=c6b45a958e3b09bc8f3950a718c181dfc9e0b910;p=friendica.git diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 3df54b79e6..ca9b788534 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -75,13 +75,13 @@ return [ Util\ConfigFileLoader::class => [ 'shared' => true, 'constructParams' => [ - [Dice::INSTANCE => '$basepath'], + [Dice::INSTANCE => '$basepath'] ], ], Config\Cache::class => [ '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 => [