]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
DE FAQ: moved info about support channels to the FAQ top
[friendica.git] / static / dependencies.config.php
index 3df54b79e61106c3485e0377d8dd90e4dd359ef7..28cc58a611aa58c97bf19112fb8e16a763bc5b78 100644 (file)
@@ -81,7 +81,7 @@ return [
        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 => [